diff --git a/control-vm.sh b/control-vm.sh index 89f8b94..75ed1ca 100755 --- a/control-vm.sh +++ b/control-vm.sh @@ -127,7 +127,7 @@ QEMU_COMMON_ARGS=( -monitor unix:"${MONITOR_SOCKET}",server,nowait -qmp-pretty unix:"${QMP_SOCKET}",server,nowait ) -QEMU_DISK_ARGS=( -drive id=hd0,media=disk,if=virtio,file="${IMAGE_PATH}",discard=on,aio=io_uring,cache=none ) +QEMU_DISK_ARGS=( -drive id=hd0,media=disk,if=virtio,file="${IMAGE_PATH}",discard=on,aio=io_uring,cache=writeback ) QEMU_DISPLAY_NONE_ARGS=( -vga none -display none ) QEMU_DISPLAY_VIRTIO_ARGS=( -vga virtio ) QEMU_DISPLAY_STD_ARGS=( -vga std )