Patchwork [03/11] qdev: Add isabuf_dev_info to ISA's BusInfo struct.

login
register
mail settings
Submitter Nathan Baum
Date Dec. 26, 2009, 9:19 p.m.
Message ID <1261862362-2530-4-git-send-email-nathan@parenthephobia.org.uk>
Download mbox | patch
Permalink /patch/41811/
State New
Headers show

Comments

Nathan Baum - Dec. 26, 2009, 9:19 p.m.
Signed-off-by: Nathan Baum <nathan@parenthephobia.org.uk>
---
 hw/isa-bus.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/isa-bus.c b/hw/isa-bus.c
index b3d599f..ed965d8 100644
--- a/hw/isa-bus.c
+++ b/hw/isa-bus.c
@@ -32,11 +32,13 @@  struct ISABus {
 static ISABus *isabus;
 
 static void isabus_dev_print(Monitor *mon, DeviceState *dev, int indent);
+static QObject *isabus_dev_info(Monitor *mon, DeviceState *dev);
 
 static struct BusInfo isa_bus_info = {
     .name      = "ISA",
     .size      = sizeof(ISABus),
     .print_dev = isabus_dev_print,
+    .info_dev = isabus_dev_info,
 };
 
 ISABus *isa_bus_new(DeviceState *dev)