thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
9ae3a8
From 83aeeafe6163924b991c2e0f89e3a79b3bc6b182 Mon Sep 17 00:00:00 2001
9ae3a8
Message-Id: <83aeeafe6163924b991c2e0f89e3a79b3bc6b182.1387298827.git.minovotn@redhat.com>
9ae3a8
In-Reply-To: <3ed0fb61a3dc912ef036d7ef450bed192090709e.1387298827.git.minovotn@redhat.com>
9ae3a8
References: <3ed0fb61a3dc912ef036d7ef450bed192090709e.1387298827.git.minovotn@redhat.com>
9ae3a8
From: "Michael S. Tsirkin" <mst@redhat.com>
9ae3a8
Date: Tue, 17 Dec 2013 15:19:16 +0100
9ae3a8
Subject: [PATCH 51/56] pc: disable pci-info
9ae3a8
9ae3a8
RH-Author: Michael S. Tsirkin <mst@redhat.com>
9ae3a8
Message-id: <1387293161-4085-52-git-send-email-mst@redhat.com>
9ae3a8
Patchwork-id: 56357
9ae3a8
O-Subject: [PATCH qemu-kvm RHEL7.0 v2 51/57] pc: disable pci-info
9ae3a8
Bugzilla: 1034876
9ae3a8
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
9ae3a8
RH-Acked-by: Marcel Apfelbaum <marcel.a@redhat.com>
9ae3a8
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
9ae3a8
9ae3a8
From: Igor Mammedov <imammedo@redhat.com>
9ae3a8
9ae3a8
The BIOS that we ship in 1.7 does not use pci info
9ae3a8
from host and so far isn't going to use it.
9ae3a8
Taking in account problems it caused see 9604f70fdf and
9ae3a8
to avoid future incompatibility issues, it's safest to
9ae3a8
disable that interface by default for all machine types
9ae3a8
including 1.7 as it was never exposed/used by guest.
9ae3a8
And properly remove/cleanup it during 1.8 development cycle.
9ae3a8
9ae3a8
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
9ae3a8
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
9ae3a8
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
9ae3a8
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
9ae3a8
(cherry picked from commit 7f1bb742be39184b469d53c0901240b12bb85589)
9ae3a8
9ae3a8
Conflicts:
9ae3a8
	hw/i386/pc_piix.c
9ae3a8
	hw/i386/pc_q35.c
9ae3a8
---
9ae3a8
 hw/i386/pc_piix.c | 2 +-
9ae3a8
 hw/i386/pc_q35.c  | 2 +-
9ae3a8
 2 files changed, 2 insertions(+), 2 deletions(-)
9ae3a8
9ae3a8
Signed-off-by: Michal Novotny <minovotn@redhat.com>
9ae3a8
---
9ae3a8
 hw/i386/pc_piix.c | 2 +-
9ae3a8
 hw/i386/pc_q35.c  | 2 +-
9ae3a8
 2 files changed, 2 insertions(+), 2 deletions(-)
9ae3a8
9ae3a8
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
9ae3a8
index ffa35d3..76d6e93 100644
9ae3a8
--- a/hw/i386/pc_piix.c
9ae3a8
+++ b/hw/i386/pc_piix.c
9ae3a8
@@ -59,7 +59,7 @@ static const int ide_iobase2[MAX_IDE_BUS] = { 0x3f6, 0x376 };
9ae3a8
 static const int ide_irq[MAX_IDE_BUS] = { 14, 15 };
9ae3a8
 
9ae3a8
 static bool smbios_type1_defaults = true;
9ae3a8
-static bool has_pci_info = true;
9ae3a8
+static bool has_pci_info;
9ae3a8
 static bool has_acpi_build = true;
9ae3a8
 
9ae3a8
 /* PC hardware initialisation */
9ae3a8
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
9ae3a8
index 824295d..86c0c90 100644
9ae3a8
--- a/hw/i386/pc_q35.c
9ae3a8
+++ b/hw/i386/pc_q35.c
9ae3a8
@@ -49,7 +49,7 @@
9ae3a8
 #define MAX_SATA_PORTS     6
9ae3a8
 
9ae3a8
 static bool smbios_type1_defaults = true;
9ae3a8
-static bool has_pci_info = true;
9ae3a8
+static bool has_pci_info;
9ae3a8
 static bool has_acpi_build = true;
9ae3a8
 
9ae3a8
 /* PC hardware initialisation */
9ae3a8
-- 
9ae3a8
1.7.11.7
9ae3a8