0
0

control-vm.sh: Try cache=writeback for the main disk

This commit is contained in:
Nils Freydank 2021-09-30 11:51:31 +02:00
parent 303c60d8f1
commit 6855b980f3
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -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 )