|
|
@ -633,15 +633,12 @@ function vm_boot() { |
|
|
|
*) DISPLAY_DEVICE="virtio-vga";; |
|
|
|
*) DISPLAY_DEVICE="virtio-vga";; |
|
|
|
esac |
|
|
|
esac |
|
|
|
elif [ "${guest_os}" == "macos" ]; then |
|
|
|
elif [ "${guest_os}" == "macos" ]; then |
|
|
|
# Tweak video device based on the guest macOS release. |
|
|
|
|
|
|
|
# Displays in System Preferences can be used to select a resolution if: |
|
|
|
# Displays in System Preferences can be used to select a resolution if: |
|
|
|
# - qxl is used on Big Sur and Catalina |
|
|
|
# - Mojave only offers 4:3 resolutions |
|
|
|
# - VGA is used on Mojave, although available resolutions are all 4:3 |
|
|
|
|
|
|
|
# - High Sierra will run at the default 1920x1080 only. |
|
|
|
# - High Sierra will run at the default 1920x1080 only. |
|
|
|
case ${macos_release} in |
|
|
|
# QXL prevents seamless mouse working with a SPICE client |
|
|
|
catalina|big-sur|monterey) DISPLAY_DEVICE="qxl";; |
|
|
|
# - https://github.com/wimpysworld/quickemu/issues/222 |
|
|
|
*) DISPLAY_DEVICE="VGA";; |
|
|
|
DISPLAY_DEVICE="VGA" |
|
|
|
esac |
|
|
|
|
|
|
|
elif [ "${guest_os}" == "windows" ]; then |
|
|
|
elif [ "${guest_os}" == "windows" ]; then |
|
|
|
DISPLAY_DEVICE="qxl-vga" |
|
|
|
DISPLAY_DEVICE="qxl-vga" |
|
|
|
else |
|
|
|
else |
|
|
|