Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37560166
en ru br
ALT Linux repos
S:7.4.3-alt6

Group :: System/Servers
RPM: pve-manager

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: qemu-server-aarch64-spice.patch
Download


--- qemu-server/PVE/QemuServer.pm.aarch64	2019-08-29 12:03:38.642577696 +0300
+++ qemu-server/PVE/QemuServer.pm	2019-08-29 11:57:55.678646879 +0300
@@ -2108,6 +2108,11 @@
     }
     die "no devicetype for $vga->{type}\n" if !$type;
 
+    if ($arch eq 'aarch64' && $qxlnum) {
+	$vga->{type} = 'virtio';
+	$type = 'virtio-gpu';
+    }
+
     my $memory = "";
     if ($vgamem_mb) {
 	if ($vga->{type} eq 'virtio') {
@@ -3589,7 +3594,7 @@
 	$tablet = $conf->{tablet};
     } else {
 	$tablet = $defaults->{tablet};
-	$tablet = 0 if $qxlnum; # disable for spice because it is not needed
+	$tablet = 0 if ($qxlnum && $arch ne 'aarch64'); # disable for spice because it is not needed
 	$tablet = 0 if $vga->{type} =~ m/^serial\d+$/; # disable if we use serial terminal (no vga card)
     }
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin