]> git.proxmox.com Git - qemu-server.git/commitdiff
enable spice also for virtio-gl display
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Apr 2022 06:07:08 +0000 (08:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Apr 2022 06:07:14 +0000 (08:07 +0200)
It can be used with that and the agent features can make it a nicer
experience.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm

index 5366df20d139a600f8bd7b2dcc12de454a3dab83..7a69bfcb888b6bbc21039468db77fe1604b43218 100644 (file)
@@ -3844,7 +3844,7 @@ sub config_to_command {
 
     my $spice_port;
 
-    if ($qxlnum) {
+    if ($qxlnum || $vga->{type} eq 'virtio-gl') {
        if ($qxlnum > 1) {
            if ($winversion){
                for (my $i = 1; $i < $qxlnum; $i++){