aboutsummaryrefslogtreecommitdiff
path: root/hw/pci_host.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-07-22 15:17:01 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:08:13 -0500
commit8a14daa5a1ae22fcfc317f4727a88d6c15c39aae (patch)
treebab7b236edf7458e275263f0f6c4ab22afffc531 /hw/pci_host.h
parentbd3c948db739a6c9c5e42ec838ef1220beea8e4e (diff)
downloadqemu-8a14daa5a1ae22fcfc317f4727a88d6c15c39aae.zip
qemu-8a14daa5a1ae22fcfc317f4727a88d6c15c39aae.tar.gz
qemu-8a14daa5a1ae22fcfc317f4727a88d6c15c39aae.tar.bz2
qdev/pci: hook up i440fx.
Hook i44fx pcihost into sysbus. Convert Host bridge and ISA bridge pci devices to qdev. Tag as no-user. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci_host.h')
-rw-r--r--hw/pci_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/pci_host.h b/hw/pci_host.h
index 757b0e2..48862b5 100644
--- a/hw/pci_host.h
+++ b/hw/pci_host.h
@@ -28,6 +28,8 @@
/* debug PCI */
//#define DEBUG_PCI
+#include "sysbus.h"
+
#ifdef DEBUG_PCI
#define PCI_DPRINTF(fmt, ...) \
do { printf("pci_host_data: " fmt , ## __VA_ARGS__); } while (0)
@@ -36,6 +38,7 @@ do { printf("pci_host_data: " fmt , ## __VA_ARGS__); } while (0)
#endif
typedef struct {
+ SysBusDevice busdev;
uint32_t config_reg;
PCIBus *bus;
} PCIHostState;