summaryrefslogtreecommitdiff
path: root/block/qcow2.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-04-11 16:33:50 +0200
committerKevin Wolf <kwolf@redhat.com>2012-04-20 15:57:27 +0200
commit90b277593df873d3a2480f002e2eb5fe1f8e5277 (patch)
treeedea32b742ffcbfb8308e84abcaab635fad46399 /block/qcow2.c
parent4fabffc11234d0587a213418574095e036110cd2 (diff)
downloadqemu-90b277593df873d3a2480f002e2eb5fe1f8e5277.tar.gz
qcow2: Save disk size in snapshot header
This allows that different snapshots of an image can have different sizes, which is a requirement for enabling image resizing even with images that have internal snapshots. We don't do the actual support for it now, but make sure that the additional field is present and not completely ignored in all version 3 images. When trying to load a snapshot of different size, it returns an error. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2.c')
0 files changed, 0 insertions, 0 deletions