Re: [Qemu-devel] [PATCH 08/21] qdev: use object_property_print in info qtree

2012-05-11 Thread Andreas Färber
Am 11.05.2012 16:45, schrieb Paolo Bonzini: > Il 11/05/2012 16:20, Andreas Färber ha scritto: >> char *string = NULL; >> mo = string_output_visitor_new(); -object_property_get(obj, string_output_get_visitor(mo), name, NULL); +object_property_get(obj, string_output

Re: [Qemu-devel] [PATCH 08/21] qdev: use object_property_print in info qtree

2012-05-11 Thread Paolo Bonzini
Il 11/05/2012 16:20, Andreas Färber ha scritto: > char *string = NULL; > >> > >> > mo = string_output_visitor_new(); >> > -object_property_get(obj, string_output_get_visitor(mo), name, NULL); >> > +object_property_get(obj, string_output_get_visitor(mo), name, errp); > If we do error

Re: [Qemu-devel] [PATCH 08/21] qdev: use object_property_print in info qtree

2012-05-11 Thread Andreas Färber
Am 02.05.2012 13:31, schrieb Paolo Bonzini: > Otherwise, non-string properties without a legacy counterpart are missed. > Also fix error propagation in object_property_print itself. > > Signed-off-by: Paolo Bonzini > --- > hw/qdev-monitor.c |2 +- > qom/object.c |2 +- > 2 files cha

[Qemu-devel] [PATCH 08/21] qdev: use object_property_print in info qtree

2012-05-02 Thread Paolo Bonzini
Otherwise, non-string properties without a legacy counterpart are missed. Also fix error propagation in object_property_print itself. Signed-off-by: Paolo Bonzini --- hw/qdev-monitor.c |2 +- qom/object.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/qdev-