From daadd5a4e7aed4c6a89c15eec257af6b2d42c932 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 9 Nov 2018 14:01:45 +0100 Subject: [PATCH] followup for VGA memory: improve q35 comment Signed-off-by: Thomas Lamprecht --- PVE/QemuServer.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index c3932d03..2bea729b 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2016,8 +2016,9 @@ sub print_vga_device { my $q35 = machine_type_is_q35($conf); my $vgaid = "vga" . ($id // ''); my $pciaddr; + if ($q35 && $vgaid eq 'vga') { - # on is on the pcie.0 bus on q35 + # the first display uses pcie.0 bus on q35 machines $pciaddr = print_pcie_addr($vgaid, $bridges); } else { $pciaddr = print_pci_addr($vgaid, $bridges);