qemu/qapi
Michael S. Tsirkin 56fdfb6106 qapi/string-output-visitor: fix bugs
in human mode, we are creating the string:

16-31 (16-31)

instead of

16-17 (10-1f)

because we forgot to pass 'true' as the human parameter on one of the
two calls to format_string.
Also, this is a worsening of quality; previously we would produce

16 (0x10)

to make it obvious which number was hex.
Fix these issues.

Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2014-06-19 18:44:22 +03:00
..
block-core.json qapi: Extract qapi/block-core.json definitions 2014-06-06 16:25:48 +02:00
block.json qapi: Extract qapi/block.json definitions 2014-06-06 16:25:48 +02:00
common.json qapi: Extract qapi/common.json definitions 2014-06-06 16:25:48 +02:00
Makefile.objs build: move base QAPI files to libqemuutil.a 2013-01-12 18:42:51 +01:00
opts-visitor.c QemuOpts: change opt->name|str from (const char *) to (char *) 2014-06-16 17:23:20 +08:00
qapi-dealloc-visitor.c Revert "qapi: Clean up superfluous null check in qapi_dealloc_type_str()" 2014-05-09 09:11:32 -04:00
qapi-visit-core.c qapi: Replace uncommon use of the error API by the common one 2014-05-15 14:00:46 -04:00
qmp-dispatch.c qapi: Clean up fragile use of error_is_set() 2014-05-09 09:11:31 -04:00
qmp-input-visitor.c qapi: Replace start_optional()/end_optional() by optional() 2014-05-15 14:00:45 -04:00
qmp-output-visitor.c qapi: Avoid output visitor crashing if it encounters a NULL value 2014-05-28 17:36:04 +02:00
qmp-registry.c qemu-ga: Extend 'guest-info' command to expose flag 'success-response' 2013-10-10 14:52:37 -05:00
string-input-visitor.c qapi: fix input visitor bugs 2014-06-19 18:44:22 +03:00
string-output-visitor.c qapi/string-output-visitor: fix bugs 2014-06-19 18:44:22 +03:00