]> git.proxmox.com Git - qemu.git/commit
qcow2: Add support for ImageInfoSpecific
authorMax Reitz <mreitz@redhat.com>
Wed, 9 Oct 2013 08:46:18 +0000 (10:46 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 12:03:57 +0000 (14:03 +0200)
commit37764dfb71c4d0d058b71ba33340c6beab7d5a66
tree2d6db7287d6b768e49bf0d1b2d8b95ef8f6c0241
parenta8d8ecb77fc16da49ea2c1edae267dc9d0c01dfd
qcow2: Add support for ImageInfoSpecific

Add a new ImageInfoSpecificQCow2 type as a subtype of ImageInfoSpecific.
This contains the compatibility level as a string and an optional
lazy_refcounts boolean (optional means mandatory for compat >= 1.1 and
not available for compat == 0.10).

Also, add qcow2_get_specific_info, which returns this information.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c
qapi-schema.json