diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-01-31 18:20:41 +0300 |
---|---|---|
committer | Andrzej Zaborowski <balrog@zabor.org> | 2011-02-11 01:13:52 +0100 |
commit | 0fba9fd6c305fd1fbe950eb4136dc9edc36cb3fd (patch) | |
tree | 8a40d96ab87d2355a01ff7f2060b095f21855911 /hw | |
parent | 7a719c7ce55549dc226f3a4d465d3a5ed99fd8ac (diff) |
sysbus: print number of irqs in dev_print
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/sysbus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sysbus.c b/hw/sysbus.c index 1583bd8589..1928b516a1 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); |