On 25.02.2017 18:07, 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. 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 <vsement...@virtuozzo.com> > --- > block/Makefile.objs | 2 +- > block/qcow2-bitmap.c | 439 > +++++++++++++++++++++++++++++++++++++++++++++++++ > block/qcow2-refcount.c | 6 + > block/qcow2.c | 124 +++++++++++++- > block/qcow2.h | 27 +++ > 5 files changed, 592 insertions(+), 6 deletions(-) > create mode 100644 block/qcow2-bitmap.c
Somehow I have the feeling Kevin will find bad things in this patch, but since I have already approved of all of the previous patches this one is composed of and the changes on top of that look OK to me: Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature