summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <paulo@paulo.ac>2018-05-20 02:03:28 -0300
committerPaulo Alcantara <paulo@paulo.ac>2018-05-20 02:03:28 -0300
commitaebe6e95560cd6fa66d29f10b61446bb88224842 (patch)
tree008bb4dee9ada96c78c7b5405f0475b3800d8ec7
parent726305df02d0e84344c7d0b2edcbee516983a1ef (diff)
downloadvmhtool-aebe6e95560cd6fa66d29f10b61446bb88224842.tar.gz
vmhtool-aebe6e95560cd6fa66d29f10b61446bb88224842.tar.xz
vmhtool-aebe6e95560cd6fa66d29f10b61446bb88224842.zip
Fix duplicate bootindex for SCSI drive.
Signed-off-by: Paulo Alcantara <paulo@paulo.ac>
-rwxr-xr-xvmhelper2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmhelper b/vmhelper
index b081be4..a0d0857 100755
--- a/vmhelper
+++ b/vmhelper
@@ -311,7 +311,7 @@ my %qemu_win_opts = (
mem => "-m 4096",
bus => "-device ich9-ahci,id=ahci -device virtio-scsi-pci,id=scsi -device qemu-xhci,id=xhci",
hdd => "-device scsi-hd,drive=hd,bootindex=0 -drive if=none,file=%s,cache=writeback,id=hd,format=raw,unit=0",
- cdrom => "-device scsi-cd,drive=cd,bootindex=0 -drive if=none,file=%s,format=raw,id=cd",
+ cdrom => "-device scsi-cd,drive=cd,bootindex=1 -drive if=none,file=%s,format=raw,id=cd",
virtio => "-device ide-cd,drive=drv,bus=ahci.0 -drive if=none,file=%s,format=raw,id=drv",
usb => "-device usb-tablet",
time => "-localtime",