]> git.proxmox.com Git - qemu.git/commitdiff
pc: disable pci-info
authorIgor Mammedov <imammedo@redhat.com>
Wed, 6 Nov 2013 12:48:40 +0000 (13:48 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 14 Nov 2013 07:12:13 +0000 (09:12 +0200)
The BIOS that we ship in 1.7 does not use pci info
from host and so far isn't going to use it.
Taking in account problems it caused see 9604f70fdf and
to avoid future incompatibility issues, it's safest to
disable that interface by default for all machine types
including 1.7 as it was never exposed/used by guest.
And properly remove/cleanup it during 1.8 development cycle.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c

index 4fdb7b62c577349acb7735849d9e4d6453586d0e..094c4212e629f3ac76c8b84dcd07304fb4f8c591 100644 (file)
@@ -58,7 +58,7 @@ static const int ide_iobase2[MAX_IDE_BUS] = { 0x3f6, 0x376 };
 static const int ide_irq[MAX_IDE_BUS] = { 14, 15 };
 
 static bool has_pvpanic;
-static bool has_pci_info = true;
+static bool has_pci_info;
 static bool has_acpi_build = true;
 
 /* PC hardware initialisation */
index 4c191d3b425ee289cde44e982bcd9fa7ad2d2851..1af8e2b9437993dab5e79fe1097e30a24b88b440 100644 (file)
@@ -48,7 +48,7 @@
 #define MAX_SATA_PORTS     6
 
 static bool has_pvpanic;
-static bool has_pci_info = true;
+static bool has_pci_info;
 static bool has_acpi_build = true;
 
 /* PC hardware initialisation */