]> Git Repo - qemu.git/commit - block/qcow2.h
qcow2: Add list of bitmaps to ImageInfoSpecificQCow2
authorAndrey Shinkevich <[email protected]>
Fri, 8 Feb 2019 15:06:07 +0000 (18:06 +0300)
committerEric Blake <[email protected]>
Mon, 11 Feb 2019 20:35:43 +0000 (14:35 -0600)
commitb8968c875f4030dd6924d6971bb3d92dfa3d2f65
tree2faef1ceb11b64be4ade3fb50a4e6e34bbe7afc5
parent1bf6e9ca9234e1dbcaa18baa06eca9d55cc2dbbb
qcow2: Add list of bitmaps to ImageInfoSpecificQCow2

In the 'Format specific information' section of the 'qemu-img info'
command output, the supplemental information about existing QCOW2
bitmaps will be shown, such as a bitmap name, flags and granularity:

image: /vz/vmprivate/VM1/harddisk.hdd
file format: qcow2
virtual size: 64G (68719476736 bytes)
disk size: 3.0M
cluster_size: 1048576
Format specific information:
    compat: 1.1
    lazy refcounts: true
    bitmaps:
        [0]:
            flags:
                [0]: in-use
                [1]: auto
            name: back-up1
            granularity: 65536
        [1]:
            flags:
                [0]: in-use
                [1]: auto
            name: back-up2
            granularity: 65536
    refcount bits: 16
    corrupt: false

Signed-off-by: Andrey Shinkevich <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-Id: <1549638368[email protected]>
Signed-off-by: Eric Blake <[email protected]>
block/qcow2-bitmap.c
block/qcow2.c
block/qcow2.h
qapi/block-core.json
This page took 0.02752 seconds and 4 git commands to generate.