syzkaller/vm
Alexander Popov 6732e2c033 qemu: support advanced hard drive configurations
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>
2019-07-15 18:12:29 +03:00
..
adb all: fix warnings pointed to by golangci-lint 2019-03-28 15:30:18 +01:00
bhyve vm/bhyve: ensure the VM is destroyed after closing 2019-05-13 20:23:56 -04:00
gce vm/gce: allow non-preemptible VMs 2019-03-28 13:22:37 +01:00
gvisor all: fix warnings pointed to by golangci-lint 2019-03-28 15:30:18 +01:00
isolated vm/qemu: detect boot errors faster 2019-03-17 18:06:44 +01:00
kvm vm: allow Diagnose to directly return diagnosis 2018-12-21 18:08:49 +01:00
odroid vm/vmimpl: factor out common code for ssh args and waiting for ssh 2018-07-06 14:02:06 +02:00
qemu qemu: support advanced hard drive configurations 2019-07-15 18:12:29 +03:00
vmimpl all: fix some static analysis warnings 2019-04-23 17:58:54 +03:00
vmm vm/qemu: detect boot errors faster 2019-03-17 18:06:44 +01:00
vm_test.go vm: fix spurious crash detection caused by trimmed lines 2019-06-24 10:14:58 +02:00
vm.go vm: fix typo in comment 2019-06-24 10:50:20 +02:00