mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
stuff
This commit is contained in:
16
run
16
run
@@ -600,6 +600,8 @@ Extra options to append at the end of the emulator command line.
|
||||
])
|
||||
if use_disk_image:
|
||||
cmd.extend(['--disk-image', self.env['disk_image'], LF])
|
||||
if os.path.exists(self.env['disk_image_2']):
|
||||
cmd.extend(['--disk-image', self.env['disk_image_2'], LF])
|
||||
if self.env['baremetal']:
|
||||
cmd.extend([
|
||||
'--param', 'system.workload.extras = "{}"'.format(self.python_escape_double_quotes(baremetal_cli_path)), LF,
|
||||
@@ -677,6 +679,8 @@ Extra options to append at the end of the emulator command line.
|
||||
])
|
||||
if use_disk_image:
|
||||
cmd.extend(['--disk', self.env['disk_image'], LF])
|
||||
if os.path.exists(self.env['disk_image_2']):
|
||||
cmd.extend(['--disk', self.env['disk_image_2'], LF])
|
||||
if self.env['dtb']:
|
||||
cmd.extend([
|
||||
'--dtb',
|
||||
@@ -844,6 +848,18 @@ Extra options to append at the end of the emulator command line.
|
||||
),
|
||||
LF,
|
||||
])
|
||||
if os.path.exists(self.env['disk_image_2']):
|
||||
extra_emulator_args.extend([
|
||||
'-drive',
|
||||
'file={},format={},if={}{}{}'.format(
|
||||
self.env['disk_image_2'],
|
||||
'raw',
|
||||
driveif,
|
||||
snapshot,
|
||||
rrid
|
||||
),
|
||||
LF,
|
||||
])
|
||||
if rr:
|
||||
extra_emulator_args.extend([
|
||||
'-object', 'filter-replay,id=replay,netdev=net0', LF,
|
||||
|
||||
Reference in New Issue
Block a user