mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
port bisect-linux-boot-gem5 and zip-img
fix m5 build and a bunch other things
This commit is contained in:
6
run
6
run
@@ -13,7 +13,7 @@ defaults = {
|
||||
'debug_guest': False,
|
||||
'debug_vm': False,
|
||||
'eval': None,
|
||||
'extra_emulator_args': None,
|
||||
'extra_emulator_args': [],
|
||||
'gem5_biglittle': False,
|
||||
'gem5_exe_args':'',
|
||||
'gem5_restore_last_checkpoint': None,
|
||||
@@ -164,7 +164,7 @@ def main(args, extra_args=None):
|
||||
qemu_executable = "qemu-system-{}".format(args.arch)
|
||||
else:
|
||||
qemu_executable = common.qemu_executable
|
||||
extra_emulator_args = extra_qemu_args + extra_emulator_args
|
||||
extra_emulator_args = extra_qemu_args + args.extra_emulator_args
|
||||
cmd = (
|
||||
debug_vm +
|
||||
[
|
||||
@@ -435,7 +435,7 @@ Run QEMU with VNC instead of the default SDL. Connect to it with:
|
||||
'''
|
||||
)
|
||||
parser.add_argument(
|
||||
'extra_emulator_args', nargs='*',
|
||||
'extra_emulator_args', nargs='*', default=defaults['extra_emulator_args'],
|
||||
help='Extra options to append at the end of the emulator command line'
|
||||
)
|
||||
return parser
|
||||
|
||||
Reference in New Issue
Block a user