]> git.proxmox.com Git - qemu.git/commit
vl: fix -hdachs/-hda argument order parsing issues
authorMatthew Ogilvie <mmogilvi_qemu@miniinfo.net>
Thu, 23 Aug 2012 06:24:40 +0000 (00:24 -0600)
committermalc <av1474@comtv.ru>
Fri, 24 Aug 2012 03:44:38 +0000 (07:44 +0400)
commit7764ae9671f1cd74227cf4404431dd5213799ef0
tree676668b7a47f402adf870d5e55ea57b8d50a8637
parent5c73b757e3aa80dc84352b2ede0d8bdea5419f6d
vl: fix -hdachs/-hda argument order parsing issues

Without this patch, the -hdachs argument had to occur either
BEFORE the corresponding "-hda" option, or AFTER the plain
disk image name (if neither -hda nor -drive is used).  Otherwise
it would effectively be ignored.

Option -hdachs still has no effect on -drive, but that seems best.

Signed-off-by: Matthew Ogilvie <mmogilvi_qemu@miniinfo.net>
Signed-off-by: malc <av1474@comtv.ru>
vl.c