qdev: Use human mode in "info qtree"
Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
0b7593e085
commit
dae3bda422
@ -577,7 +577,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_print(OBJECT(dev), props->name, false, &err);
|
||||
value = object_property_print(OBJECT(dev), props->name, true, &err);
|
||||
}
|
||||
g_free(legacy_name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user