From: Gerd Hoffmann <kra...@redhat.com>

pci_bridge_write_config() was not being used.

Cc: qemu-sta...@nongnu.org
Signed-off-by: Gerd Hoffmann <kra...@redhat.com>
Signed-off-by: Andreas Färber <afaer...@suse.de>
Signed-off-by: Michael S. Tsirkin <m...@redhat.com>
(cherry picked from commit 4965b7f056177ddfb816319e9ff5e766898d0bc5)

Conflicts:

        hw/pci-bridge/i82801b11.c

* modified to avoid dependency on 125ee0ed

Signed-off-by: Michael Roth <mdr...@linux.vnet.ibm.com>
---
 hw/pci-bridge/i82801b11.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/pci-bridge/i82801b11.c b/hw/pci-bridge/i82801b11.c
index 5807a92..0841531 100644
--- a/hw/pci-bridge/i82801b11.c
+++ b/hw/pci-bridge/i82801b11.c
@@ -87,6 +87,7 @@ static void i82801b11_bridge_class_init(ObjectClass *klass, 
void *data)
     k->device_id = PCI_DEVICE_ID_INTEL_82801BA_11;
     k->revision = ICH9_D2P_A2_REVISION;
     k->init = i82801b11_bridge_initfn;
+    k->config_write = pci_bridge_write_config;
 }
 
 static const TypeInfo i82801b11_bridge_info = {
-- 
1.7.9.5


Reply via email to