Refactor DISPLAY_DEVICE for Linux guests
This commit is contained in:
parent
e6c7603864
commit
bd3b24ee71
5
quickemu
5
quickemu
|
@ -404,7 +404,10 @@ function vm_boot() {
|
||||||
|
|
||||||
# https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/
|
# https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/
|
||||||
if [ "${guest_os}" == "linux" ]; then
|
if [ "${guest_os}" == "linux" ]; then
|
||||||
DISPLAY_DEVICE="virtio-vga"
|
case ${OUTPUT} in
|
||||||
|
spice) DISPLAY_DEVICE="qxl-vga";;
|
||||||
|
*) DISPLAY_DEVICE="virtio-vga";;
|
||||||
|
esac
|
||||||
elif [ "${guest_os}" == "macos" ]; then
|
elif [ "${guest_os}" == "macos" ]; then
|
||||||
# Tweak video device based on the guest macOS release.
|
# 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:
|
||||||
|
|
Loading…
Reference in New Issue