parent
050d8d740c
commit
775b53920f
5
quickemu
5
quickemu
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user