diff options
author | Kevin Wolf <kwolf@redhat.com> | 2012-04-11 16:33:50 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-04-20 15:57:27 +0200 |
commit | 90b277593df873d3a2480f002e2eb5fe1f8e5277 (patch) | |
tree | edea32b742ffcbfb8308e84abcaab635fad46399 /block/qcow2-cluster.c | |
parent | 4fabffc11234d0587a213418574095e036110cd2 (diff) |
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-cluster.c')
0 files changed, 0 insertions, 0 deletions