Switch macOS video device to qxl by default

This commit is contained in:
Martin Wimpress 2021-09-28 15:40:00 +01:00
parent 3527001973
commit fc2331ae92
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -359,7 +359,7 @@ function vm_boot() {
if [ "${guest_os}" == "linux" ]; then
DISPLAY_DEVICE="virtio-vga"
elif [ "${guest_os}" == "macos" ]; then
DISPLAY_DEVICE="VGA"
DISPLAY_DEVICE="qxl"
elif [ "${guest_os}" == "windows" ]; then
DISPLAY_DEVICE="qxl-vga"
else
@ -367,7 +367,7 @@ function vm_boot() {
fi
if [ "${OUTPUT}" == "spice" ]; then
if [ "${guest_os}" != "macos" ]; then
if [ "${guest_os}" == "linux" ]; then
DISPLAY_DEVICE="qxl-vga"
fi
OUTPUT="none"
@ -475,7 +475,7 @@ function vm_boot() {
-device virtio-serial-pci
-chardev spicevmc,id=vdagent0,name=vdagent
-device virtserialport,chardev=vdagent0,name=com.redhat.spice.0
-device virtio-serial-pci
-monitor none
-chardev spiceport,id=webdav0,name=org.spice-space.webdav.0
-device virtserialport,chardev=webdav0,name=org.spice-space.webdav.0
-serial mon:stdio)