Re: [Qemu-block] [PATCH 18/24] qmp: add x-debug-block-dirty-bitmap-sha256

2017-01-29 Thread Max Reitz
On 23.01.2017 13:10, Vladimir Sementsov-Ogievskiy wrote: > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > block/dirty-bitmap.c | 5 + > blockdev.c | 29 + > include/block/dirty-bitmap.h | 2 ++ > include/qemu/hbitmap.h | 8 ++

Re: [Qemu-block] [PATCH 21/24] qcow2-bitmap: refcounts

2017-01-29 Thread Max Reitz
On 23.01.2017 13:10, Vladimir Sementsov-Ogievskiy wrote: > Calculate refcounts for qcow2 bitmaps. It is needed for qcow2's qemu-img > check implementation. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > block/qcow2-bitmap.c | 80 > ++ >

Re: [Qemu-block] [PATCH 22/24] block/dirty-bitmap: deep release dirty bitmaps

2017-01-29 Thread Max Reitz
On 23.01.2017 13:10, Vladimir Sementsov-Ogievskiy wrote: > Remove persistent bitmap from its storage on bdrv_release_dirty_bitmap. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > block/dirty-bitmap.c | 21 ++--- > include/block/block_int.h | 3 +++ > 2 files changed

Re: [Qemu-block] [PATCH 07/24] qcow2: add bitmaps extension

2017-01-29 Thread Vladimir Sementsov-Ogievskiy
29.01.2017 00:29, Max Reitz wrote: On 23.01.2017 13:10, Vladimir Sementsov-Ogievskiy wrote: Add bitmap extension as specified in docs/specs/qcow2.txt. For now, just mirror extension header into Qcow2 state and check constraints. For now, disable image resize if it has bitmaps. It will be fixed