mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-14 06:17:23 +00:00
arm: use virtio gpu by default
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
1ea63c15bf
commit
869ad4a78d
@ -3493,7 +3493,9 @@ sub config_to_command {
|
|||||||
$vga->{type} = 'qxl' if $qxlnum;
|
$vga->{type} = 'qxl' if $qxlnum;
|
||||||
|
|
||||||
if (!$vga->{type}) {
|
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';
|
$vga->{type} = (!$winversion || $winversion >= 6) ? 'std' : 'cirrus';
|
||||||
} else {
|
} else {
|
||||||
$vga->{type} = ($winversion >= 6) ? 'std' : 'cirrus';
|
$vga->{type} = ($winversion >= 6) ? 'std' : 'cirrus';
|
||||||
|
Loading…
Reference in New Issue
Block a user