[pve-devel] [PATCH qemuserver 1/1] Fix SPICE multi-monitor mode on q35

Dzmitry Kotsikau dkotsikau at gmail.com
Wed Jul 4 13:51:32 CEST 2018


Signed-off-by: Dzmitry Kotsikau <dkotsikau at gmail.com>
---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index d6efb3a..68aef83 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3410,7 +3410,7 @@ sub config_to_command {
 	    if ($winversion){
 		for(my $i = 1; $i < $qxlnum; $i++){
 		    my $pciaddr = print_pci_addr("vga$i", $bridges);
-		    push @$cmd, '-device', "qxl,id=vga$i,ram_size=67108864,vram_size=33554432$pciaddr";
+		    push @$devices, '-device', "qxl,id=vga$i,ram_size=67108864,vram_size=33554432$pciaddr";
 		}
 	    } else {
 		# assume other OS works like Linux
-- 
2.11.0




More information about the pve-devel mailing list