From 869ad4a78dda7e7b06f61f6880ddd851c261c762 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 12 Nov 2018 14:10:44 +0100 Subject: [PATCH] arm: use virtio gpu by default Signed-off-by: Wolfgang Bumiller --- PVE/QemuServer.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index dd7d1f63..9f5d6f3a 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3493,7 +3493,9 @@ sub config_to_command { $vga->{type} = 'qxl' if $qxlnum; if (!$vga->{type}) { - if (qemu_machine_feature_enabled($machine_type, $kvmver, 2, 9)) { + if ($arch eq 'aarch64') { + $vga->{type} = 'virtio'; + } elsif (qemu_machine_feature_enabled($machine_type, $kvmver, 2, 9)) { $vga->{type} = (!$winversion || $winversion >= 6) ? 'std' : 'cirrus'; } else { $vga->{type} = ($winversion >= 6) ? 'std' : 'cirrus';