]> Git Repo - qemu.git/commit - block/qcow2-refcount.c
qcow2: add bitmaps extension
authorVladimir Sementsov-Ogievskiy <[email protected]>
Wed, 28 Jun 2017 12:05:08 +0000 (15:05 +0300)
committerMax Reitz <[email protected]>
Tue, 11 Jul 2017 15:44:57 +0000 (17:44 +0200)
commit88ddffae8fc1e30cc907c2dbb989b7eba9e62319
tree312f7ceab9b279ca0d04c7ad31d9f8b25c74e058
parent8a5bb1f114c5959cf6b247a737394afb0c518b40
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 <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Reviewed-by: John Snow <[email protected]>
Message-id: 20170628120530[email protected]
Signed-off-by: Max Reitz <[email protected]>
block/Makefile.objs
block/qcow2-bitmap.c [new file with mode: 0644]
block/qcow2-refcount.c
block/qcow2.c
block/qcow2.h
This page took 0.027458 seconds and 4 git commands to generate.