Commit 49265377 authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

orchestration: use echo as default checksum cmd

Currently we invoke m5 checksum for gem5 but nothing at all for other
simulators. This just adds an echo "ready for checkpoint". We use this in
simics to generate a checkpoint, but it is also sane default for simulators not
supporting checkpoints, as at least the logs will show what's going on.
parent d1309287
...@@ -92,7 +92,7 @@ class NodeConfig(): ...@@ -92,7 +92,7 @@ class NodeConfig():
cp_es = [] if self.nockp else ['m5 checkpoint'] cp_es = [] if self.nockp else ['m5 checkpoint']
exit_es = ['m5 exit'] exit_es = ['m5 exit']
else: else:
cp_es = [] cp_es = ['echo ready to checkpoint']
exit_es = ['poweroff -f'] exit_es = ['poweroff -f']
es = self.prepare_pre_cp() + self.app.prepare_pre_cp() + cp_es + \ es = self.prepare_pre_cp() + self.app.prepare_pre_cp() + cp_es + \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment