aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance.go
diff options
context:
space:
mode:
authorAlexander Popov <a13xp0p0v@users.noreply.github.com>2019-07-15 18:12:29 +0300
committerDmitry Vyukov <dvyukov@google.com>2019-07-15 18:12:29 +0300
commit6732e2c0330c7389c92c4f7ddd307bf13dab7714 (patch)
treec582eb1a70dd9c1ce3d37de5861f5d902c0b3003 /pkg/instance/instance.go
parent0b48f538f1857eb433ac46f9f6a4c789865c9e52 (diff)
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>
Diffstat (limited to 'pkg/instance/instance.go')
0 files changed, 0 insertions, 0 deletions