Disable all disk tuning, for the sake of compatibility. Close #98

pull/142/head
Martin Wimpress 3 years ago
parent 32da324717
commit 3c2249934a
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 6
      quickemu

@ -782,16 +782,16 @@ function vm_boot() {
if [ -n "${img}" ]; then if [ -n "${img}" ]; then
# shellcheck disable=SC2054 # shellcheck disable=SC2054
args+=(-device ide-hd,bus=ahci.1,drive=RecoveryImage args+=(-device ide-hd,bus=ahci.1,drive=RecoveryImage
-drive id=RecoveryImage,if=none,format=raw,file="${img}",cache=none,aio=native) -drive id=RecoveryImage,if=none,format=raw,file="${img}")
fi fi
# shellcheck disable=SC2054,SC2206 # shellcheck disable=SC2054,SC2206
args+=(-device ${MAC_DISK_DEV},drive=SystemDisk args+=(-device ${MAC_DISK_DEV},drive=SystemDisk
-drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}",cache=none,aio=native ${STATUS_QUO}) -drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO})
else else
# shellcheck disable=SC2054,SC2206 # shellcheck disable=SC2054,SC2206
args+=(-device virtio-blk-pci,drive=SystemDisk args+=(-device virtio-blk-pci,drive=SystemDisk
-drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}",cache=none,aio=native ${STATUS_QUO} -drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO}
-device ${USB_HOST_PASSTHROUGH_CONTROLLER},id=spicepass -device ${USB_HOST_PASSTHROUGH_CONTROLLER},id=spicepass
-chardev spicevmc,id=usbredirchardev1,name=usbredir -chardev spicevmc,id=usbredirchardev1,name=usbredir
-device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1

Loading…
Cancel
Save