qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC, PATCH 05/11] qdev: Add pcibus_dev_info to pci_bus_inf


From: Nathan Baum
Subject: [Qemu-devel] [RFC, PATCH 05/11] qdev: Add pcibus_dev_info to pci_bus_info
Date: Sat, 26 Dec 2009 21:11:33 +0000

Signed-off-by: Nathan Baum <address@hidden>
---
 hw/pci.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/pci.c b/hw/pci.c
index 8688d8a..36605e7 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -59,11 +59,13 @@ struct PCIBus {
 };
 
 static void pcibus_dev_print(Monitor *mon, DeviceState *dev, int indent);
+static QObject *pcibus_dev_info(Monitor *mon, DeviceState *dev);
 
 static struct BusInfo pci_bus_info = {
     .name       = "PCI",
     .size       = sizeof(PCIBus),
     .print_dev  = pcibus_dev_print,
+    .info_dev   = pcibus_dev_info,
     .props      = (Property[]) {
         DEFINE_PROP_PCI_DEVFN("addr", PCIDevice, devfn, -1),
         DEFINE_PROP_STRING("romfile", PCIDevice, romfile),
-- 
1.6.3.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]