From 3778119dafdb31d22e90ec8d28b68e737f6d861d Mon Sep 17 00:00:00 2001 From: xel-arjona Date: Wed, 5 Aug 2026 16:45:22 -0600 Subject: [PATCH] windows: use virtio-gpu-pci for ARM64 guests Signed-off-by: xel-arjona --- quickemu | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/quickemu b/quickemu index ac77690..658b343 100755 --- a/quickemu +++ b/quickemu @@ -1309,10 +1309,16 @@ function configure_display() { # macOS has native VMware display driver support; aligns with OSX-KVM DISPLAY_DEVICE="vmware-svga";; windows|windows-server) - case ${display} in - none|spice) DISPLAY_DEVICE="qxl-vga";; - cocoa|gtk|sdl|spice-app) DISPLAY_DEVICE="virtio-vga";; - esac;; + # As ARM64 "virt" machines do not provide legacy VGA/QXL hardware, + # use virtio-gpu-pci as this match the Linux ARM64 configuration. + if [ "${ARCH_VM}" == "aarch64" ]; then + DISPLAY_DEVICE="virtio-gpu-pci" + else + case ${display} in + none|spice) DISPLAY_DEVICE="qxl-vga";; + cocoa|gtk|sdl|spice-app) DISPLAY_DEVICE="virtio-vga";; + esac + fi;; *) DISPLAY_DEVICE="qxl-vga";; esac