control-vm.sh: Sort drive parameters alphabetically
This commit is contained in:
parent
a07982b478
commit
482f68a4f1
@ -111,6 +111,8 @@ fi
|
|||||||
QEMU_COMMON_ARGS=(
|
QEMU_COMMON_ARGS=(
|
||||||
# Provide a pretty name for the guest.
|
# Provide a pretty name for the guest.
|
||||||
-name "${GUEST_NAME}"
|
-name "${GUEST_NAME}"
|
||||||
|
# Disable some less document user configuration loading.
|
||||||
|
-no-user-config
|
||||||
# Configure some seccomp mode 2 filters.
|
# Configure some seccomp mode 2 filters.
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=allow,spawn=allow,resourcecontrol=allow
|
-sandbox on,obsolete=deny,elevateprivileges=allow,spawn=allow,resourcecontrol=allow
|
||||||
# Enable KVM and hardware acceleration.
|
# Enable KVM and hardware acceleration.
|
||||||
@ -126,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}",discard=on,aio=io_uring,cache=writeback )
|
QEMU_DISK_ARGS=( -drive id=hd0,media=disk,if=virtio,file="${IMAGE_PATH}",aio=io_uring,cache=writeback,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