mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Ensure that all changes of previous commit are constrained to rr runs
This commit is contained in:
13
run
13
run
@@ -818,8 +818,15 @@ Extra options to append at the end of the emulator command line.
|
|||||||
driveif = 'none'
|
driveif = 'none'
|
||||||
rrid = ',id=img-direct'
|
rrid = ',id=img-direct'
|
||||||
rrid2 = ',id=img-direct2'
|
rrid2 = ',id=img-direct2'
|
||||||
root = 'root=/dev/sda'
|
if self.env['is_arm']:
|
||||||
|
root = 'root=/dev/vda'
|
||||||
|
else:
|
||||||
|
root = 'root=/dev/sda'
|
||||||
snapshot = ',snapshot'
|
snapshot = ',snapshot'
|
||||||
|
if self.env['is_arm']:
|
||||||
|
hd_dev = 'virtio-blk-device'
|
||||||
|
else:
|
||||||
|
hd_dev = 'ide-hd'
|
||||||
else:
|
else:
|
||||||
driveif = 'virtio'
|
driveif = 'virtio'
|
||||||
root = 'root=/dev/vda'
|
root = 'root=/dev/vda'
|
||||||
@@ -847,10 +854,6 @@ Extra options to append at the end of the emulator command line.
|
|||||||
),
|
),
|
||||||
LF,
|
LF,
|
||||||
])
|
])
|
||||||
hd_dev = 'ide-hd'
|
|
||||||
if self.env['is_arm']:
|
|
||||||
hd_dev = 'virtio-blk-device'
|
|
||||||
root = 'root=/dev/vda'
|
|
||||||
if rr:
|
if rr:
|
||||||
extra_emulator_args.extend([
|
extra_emulator_args.extend([
|
||||||
'-drive', 'driver=blkreplay,if=none,image=img-direct,id=img-blkreplay', LF,
|
'-drive', 'driver=blkreplay,if=none,image=img-direct,id=img-blkreplay', LF,
|
||||||
|
|||||||
Reference in New Issue
Block a user