control-vm.sh: Restore cache=none and set cache-size to 16MiB for the drive
This commit is contained in:
parent
482f68a4f1
commit
2d426332b9
@ -128,7 +128,7 @@ QEMU_COMMON_ARGS=(
|
|||||||
-monitor unix:"${MONITOR_SOCKET}",server,nowait
|
-monitor unix:"${MONITOR_SOCKET}",server,nowait
|
||||||
-qmp-pretty unix:"${QMP_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_NONE_ARGS=( -vga none -display none )
|
||||||
QEMU_DISPLAY_VIRTIO_ARGS=( -vga virtio )
|
QEMU_DISPLAY_VIRTIO_ARGS=( -vga virtio )
|
||||||
QEMU_DISPLAY_STD_ARGS=( -vga std )
|
QEMU_DISPLAY_STD_ARGS=( -vga std )
|
||||||
|
Loading…
Reference in New Issue
Block a user