diff mbox

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

Message ID 1261861899-1984-4-git-send-email-nathan@parenthephobia.org.uk
State New
Headers show

Commit Message

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

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)