Skip to content

Commit 68e8ccf

Browse files
committed
fix: use virtio-gpu for display on qemu-system-aarch64
virtio-vga is not available on qemu-system-aarch64
1 parent 31c773c commit 68e8ccf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

quickemu

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,11 @@ function configure_display() {
883883
linux)
884884
case ${display} in
885885
none|spice|spice-app) DISPLAY_DEVICE="virtio-gpu";;
886-
*) DISPLAY_DEVICE="virtio-vga";;
886+
*) if [ "${arch_vm}" == "aarch64" ]; then
887+
DISPLAY_DEVICE="virtio-gpu"
888+
else
889+
DISPLAY_DEVICE="virtio-vga"
890+
fi;;
887891
esac;;
888892
macos)
889893
# qxl-vga and VGA supports seamless mouse and sane resolutions if only

0 commit comments

Comments
 (0)