Windows 10 VM won't launch after upgrade from 4.3 to 4.4
This commit is contained in:
xxx 2022-11-26 17:15:12 +01:00
parent 050d8d740c
commit 775b53920f

View File

@ -1102,6 +1102,11 @@ function vm_boot() {
# shellcheck disable=SC2054,SC2206
args+=(-drive if=ide,index=0,media=disk,file="${disk_img}")
elif [ "${guest_os}" == "windows" ]; then
# shellcheck disable=SC2054,SC2206
args+=(-device virtio-blk-pci,drive=SystemDisk
-drive id=SystemDisk,if=none,format=qcow2,discard=unmap,file="${disk_img}" ${STATUS_QUO})
else
# shellcheck disable=SC2054,SC2206
args+=(-device virtio-scsi-pci,id=scsi0