mirror of
https://github.com/reactos/syzkaller.git
synced 2024-12-01 07:10:37 +00:00
6732e2c033
Currently the 'image_device' config option in qemu.go doesn't properly support the modern '-drive' argument for describing qemu hard disks. In fact the various old ways to define qemu drives all boil down to the common form '-drive if=TYPE,bus=BUS,unit=UNIT,OPTS...' For example '-hda img' is equivalent to '-drive index=0,media=disk,file=img'. Let's make the 'image_device' config option support both forms. Signed-off-by: Alexander Popov <alex.popov@linux.com> |
||
---|---|---|
.. | ||
qemu.go |