qemu/qapi
Max Reitz 0709c5a153 qcow2: Add refcount_bits to format-specific info
Add the bit width of every refcount entry to the format-specific
information.

In contrast to lazy_refcounts and the corrupt flag, this should be
always emitted, even for compat=0.10 although it does not support any
refcount width other than 16 bits. This is because if a boolean is
optional, one normally assumes it to be false when omitted; but if an
integer is not specified, it is rather difficult to guess its value.

This new field breaks some test outputs, fix them.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-03-10 14:02:20 +01:00
..
block-core.json qcow2: Add refcount_bits to format-specific info 2015-03-10 14:02:20 +01:00
block.json qapi event: convert DEVICE_TRAY_MOVED 2014-06-23 11:12:27 -04:00
common.json -machine vmport=auto: Fix handling of VMWare ioport emulation for xen 2014-11-26 12:11:27 +01:00
event.json qapi: Change back sector-count to sectors-count in quorum QAPI events. 2014-07-01 10:15:34 +02:00
Makefile.objs rename parse_enum_option to qapi_enum_parse and make it public 2014-09-08 11:12:43 +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 qapi: dealloc visitor, implement visit_start_union 2014-09-26 13:14:10 -04:00
qapi-util.c rename parse_enum_option to qapi_enum_parse and make it public 2014-09-08 11:12:43 +01:00
qapi-visit-core.c qapi: add visit_start_union and visit_end_union 2014-09-26 13:14:10 -04:00
qmp-dispatch.c qmp: Eliminate silly QERR_COMMAND_NOT_FOUND macro 2015-01-29 10:02:18 +01:00
qmp-event.c qapi: add event helper functions 2014-06-23 11:01:25 -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 human output 2014-06-23 17:38:00 +03:00
trace.json trace: [qmp] Add commands to query and control event tracing state 2014-09-26 09:34:38 +01:00