qemu-e2k/qom
Paolo Bonzini 0b7593e085 qapi: Add human mode to StringOutputVisitor
This will be used by "info qtree".  For numbers it prints both the
decimal and hex values.  For sizes it rounds to the nearest power
of 2^10.  For strings, it puts quotes around the string and separates
NULL and empty string.

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>
2014-02-14 21:12:03 +01:00
..
Makefile.objs add optional 2nd stage initialization to -object/object-add commands 2014-01-28 12:47:02 -05:00
container.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
cpu.c cpu: Document why cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
object.c qapi: Add human mode to StringOutputVisitor 2014-02-14 21:12:03 +01:00
object_interfaces.c add optional 2nd stage initialization to -object/object-add commands 2014-01-28 12:47:02 -05:00
qom-qobject.c qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00