fix(darwin): update DISPLAY_DEVICE configuration to support cocoa
This commit is contained in:
parent
98802b4891
commit
5ab447e18e
8
quickemu
8
quickemu
|
@ -847,9 +847,13 @@ function configure_display() {
|
||||||
# https://kevinlocke.name/bits/2021/12/10/windows-11-guest-virtio-libvirt/#video
|
# https://kevinlocke.name/bits/2021/12/10/windows-11-guest-virtio-libvirt/#video
|
||||||
case ${display} in
|
case ${display} in
|
||||||
gtk|none|spice) DISPLAY_DEVICE="qxl-vga";;
|
gtk|none|spice) DISPLAY_DEVICE="qxl-vga";;
|
||||||
sdl|spice-app) DISPLAY_DEVICE="virtio-vga";;
|
cocoa|sdl|spice-app) DISPLAY_DEVICE="virtio-vga";;
|
||||||
esac;;
|
esac;;
|
||||||
*) DISPLAY_DEVICE="qxl-vga";;
|
*) if [ "${OS_KERNEL}" == "Darwin" ]; then
|
||||||
|
DISPLAY_DEVICE="VGA"
|
||||||
|
else
|
||||||
|
DISPLAY_DEVICE="qxl-vga"
|
||||||
|
fi;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Map Quickemu $display to QEMU -display
|
# Map Quickemu $display to QEMU -display
|
||||||
|
|
Loading…
Reference in New Issue