Configs: Make sure options don't conflict
--HG-- extra : convert_revision : dc9b91cf1d8e33c5e68d7faeb45dbe3e7038d14c
This commit is contained in:
parent
3cb7df428c
commit
0273533adb
1 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,12 @@ def run(options, root, testsys, cpu_class):
|
||||||
else:
|
else:
|
||||||
cptdir = getcwd()
|
cptdir = getcwd()
|
||||||
|
|
||||||
|
if options.fast_forward and options.checkpoint_restore != None:
|
||||||
|
m5.panic("Error: Can't specify both --fast-forward and --checkpoint-restore")
|
||||||
|
|
||||||
|
if options.standard_switch and not cpu_class:
|
||||||
|
m5.panic("Error: Must specify CPU to switch to for --standard-switch (almost always detailed (-d))")
|
||||||
|
|
||||||
np = options.num_cpus
|
np = options.num_cpus
|
||||||
max_checkpoints = options.max_checkpoints
|
max_checkpoints = options.max_checkpoints
|
||||||
switch_cpus = None
|
switch_cpus = None
|
||||||
|
|
Loading…
Reference in a new issue