0
0

control-vm.sh: Restore cache=none and set cache-size to 16MiB for the drive

This commit is contained in:
Nils Freydank 2021-10-09 09:41:48 +02:00
parent 482f68a4f1
commit 2d426332b9
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -128,7 +128,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}",aio=io_uring,cache=writeback,discard=on )
QEMU_DISK_ARGS=( -drive id=hd0,media=disk,if=virtio,file="${IMAGE_PATH}",aio=io_uring,cache=none,cache-size=16M,discard=on )
QEMU_DISPLAY_NONE_ARGS=( -vga none -display none )
QEMU_DISPLAY_VIRTIO_ARGS=( -vga virtio )
QEMU_DISPLAY_STD_ARGS=( -vga std )