common: add --qemu option to override configs

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-13 00:00:01 +00:00
parent e54635c3ab
commit 238f1ad1c0
8 changed files with 305 additions and 312 deletions

View File

@@ -23,7 +23,7 @@ args = common.setup(parser)
extra_args = {
'extra_emulator_args': args.extra_emulator_args,
}
if args.gem5:
if common.emulator == 'gem5':
extra_args.update({
'eval': 'm5 exit',
'trace': 'Exec,-ExecSymbol,-ExecMicro',