From 1ce02de9c284b2c6684591b73d2eb316c421f11d Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Mon, 31 Jan 2011 18:20:41 +0300 Subject: [PATCH] sysbus: print number of irqs in dev_print Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Andrzej Zaborowski --- hw/sysbus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/sysbus.c b/hw/sysbus.c index 1583bd8..1928b51 100644 --- a/hw/sysbus.c +++ b/hw/sysbus.c @@ -178,6 +178,7 @@ static void sysbus_dev_print(Monitor *mon, DeviceState *dev, int indent) SysBusDevice *s = sysbus_from_qdev(dev); int i; + monitor_printf(mon, "%*sirq %d\n", indent, "", s->num_irq); for (i = 0; i < s->num_mmio; i++) { monitor_printf(mon, "%*smmio " TARGET_FMT_plx "/" TARGET_FMT_plx "\n", indent, "", s->mmio[i].addr, s->mmio[i].size); -- 2.7.4