qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v22 00/30] qcow2: persistent dirty bitmaps


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [Qemu-block] [PATCH v22 00/30] qcow2: persistent dirty bitmaps
Date: Fri, 17 Nov 2017 19:17:14 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

17.11.2017 19:04, Eric Blake wrote:
Revisiting an old series:

On 06/28/2017 07:05 AM, Vladimir Sementsov-Ogievskiy wrote:
Hi all!

There is a new update of qcow2-bitmap series - v22.

web: 
https://src.openvz.org/users/vsementsov/repos/qemu/browse?at=qcow2-bitmap-v22
git: https://src.openvz.org/scm/~vsementsov/qemu.git (tag qcow2-bitmap-v22)

v22:

Rebase on master, so changes, mostly related to new dirty bitmaps mutex:

   qcow2: add persistent dirty bitmaps support
  block.c                      |   65 +-
  block/Makefile.objs          |    2 +-
  block/dirty-bitmap.c         |  154 ++++-
  block/io.c                   |    8 +
  block/qcow2-bitmap.c         | 1481 ++++++++++++++++++++++++++++++++++++++++++
  block/qcow2-refcount.c       |   59 +-
  block/qcow2.c                |  155 ++++-
  block/qcow2.h                |   43 ++
  blockdev.c                   |   73 ++-
  docs/interop/qcow2.txt       |    8 +-
  include/block/block.h        |    3 +
  include/block/block_int.h    |   14 +
  include/block/dirty-bitmap.h |   22 +-
  include/qemu/hbitmap.h       |   49 +-
  qapi/block-core.json         |   42 +-
  tests/Makefile.include       |    2 +-
  tests/qemu-iotests/165       |  105 +++
  tests/qemu-iotests/165.out   |    5 +
  tests/qemu-iotests/group     |    1 +
  tests/test-hbitmap.c         |   19 +
  util/hbitmap.c               |   51 +-
  21 files changed, 2280 insertions(+), 81 deletions(-)
Nothing in this series touched qemu-img.  At the very minimum, it would
be nice if 'qemu-img info' were to display a summary of all bitmaps in
the qcow2 file; the QMP type ImageInfoSpecificQCow2 should be updated to
mention this information, and qemu-img updated to output it.  Being able
to create and remove persistent bitmaps from an at-rest qcow2 file
without having to fire up qemu to issue QMP commands to do so would also
be nice.

It's a bit late for getting this request into 2.12, but had it been
available, it would make my work at testing that 'qemu-img commit'
doesn't corrupt persistent bitmaps.


You are right, this is needed, but I can't promise something for the nearest future..

--
Best regards,
Vladimir




reply via email to

[Prev in Thread] Current Thread [Next in Thread]