arm: use virtio gpu by default

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2018-11-12 14:10:44 +01:00 committed by Thomas Lamprecht
parent 1ea63c15bf
commit 869ad4a78d

View File

@ -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';