diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2014-02-08 11:01:50 +0100 |
|---|---|---|
| committer | Andreas Färber <afaerber@suse.de> | 2014-02-14 21:12:03 +0100 |
| commit | 0b7593e085e66c7f5ab980a1ed8ee683c36b7347 (patch) | |
| tree | f883f5fc027994008c1e5a214d5b36100c7ad1ee /include/hw/qdev-properties.h | |
| parent | 98a6528461acf7a6f321d846e6f4e77e87305965 (diff) | |
| download | focaccia-qemu-0b7593e085e66c7f5ab980a1ed8ee683c36b7347.tar.gz focaccia-qemu-0b7593e085e66c7f5ab980a1ed8ee683c36b7347.zip | |
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>
Diffstat (limited to 'include/hw/qdev-properties.h')
0 files changed, 0 insertions, 0 deletions