summaryrefslogtreecommitdiffstats
path: root/hw/qdev-monitor.c
diff options
context:
space:
mode:
authorAnthony Liguori2012-05-14 17:15:52 +0200
committerAnthony Liguori2012-05-14 17:15:52 +0200
commit8592d5259a2be71fdca45fc0db62a5ad10abe9f5 (patch)
tree93d7c1b91928d5fb4cbcc5c2f2238f74f5ec72e5 /hw/qdev-monitor.c
parentMerge remote-tracking branch 'kraxel/usb.50' into staging (diff)
parentmips_fulong2e: Don't register "cpu" VMState twice (diff)
downloadqemu-8592d5259a2be71fdca45fc0db62a5ad10abe9f5.tar.gz
qemu-8592d5259a2be71fdca45fc0db62a5ad10abe9f5.tar.xz
qemu-8592d5259a2be71fdca45fc0db62a5ad10abe9f5.zip
Merge remote-tracking branch 'afaerber-or/qom-1.1' into staging
* afaerber-or/qom-1.1: mips_fulong2e: Don't register "cpu" VMState twice pc: Add back PCI.rombar compat property qdev: Fix adding of ptr properties qdev: Use object_property_print() in info qtree target-i386: Defer MCE init qom: Documentation addition for object_class_by_name() target-mips: Remove commented-out function declaration
Diffstat (limited to 'hw/qdev-monitor.c')
-rw-r--r--hw/qdev-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev-monitor.c b/hw/qdev-monitor.c
index 41b9e2c82f..eed781d2f0 100644
--- a/hw/qdev-monitor.c
+++ b/hw/qdev-monitor.c
@@ -493,7 +493,7 @@ static void qdev_print_props(Monitor *mon, DeviceState *dev, Property *props,
if (object_property_get_type(OBJECT(dev), legacy_name, NULL)) {
value = object_property_get_str(OBJECT(dev), legacy_name, &err);
} else {
- value = object_property_get_str(OBJECT(dev), props->name, &err);
+ value = object_property_print(OBJECT(dev), props->name, &err);
}
g_free(legacy_name);