diff options
| author | Vladimir Sementsov-Ogievskiy | 2017-06-28 14:05:08 +0200 |
|---|---|---|
| committer | Max Reitz | 2017-07-11 17:44:57 +0200 |
| commit | 88ddffae8fc1e30cc907c2dbb989b7eba9e62319 (patch) | |
| tree | 312f7ceab9b279ca0d04c7ad31d9f8b25c74e058 /blockdev.c | |
| parent | qcow2-refcount: rename inc_refcounts() and make it public (diff) | |
| download | qemu-88ddffae8fc1e30cc907c2dbb989b7eba9e62319.tar.gz qemu-88ddffae8fc1e30cc907c2dbb989b7eba9e62319.tar.xz qemu-88ddffae8fc1e30cc907c2dbb989b7eba9e62319.zip | |
qcow2: add bitmaps extension
Add bitmap extension as specified in docs/specs/qcow2.txt.
For now, just mirror extension header into Qcow2 state and check
constraints. Also, calculate refcounts for qcow2 bitmaps, to not break
qemu-img check.
For now, disable image resize if it has bitmaps. It will be fixed later.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20170628120530.31251-9-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
