This is a last brick, necessary to play with nbd bitmap export in
conjunction with image fleecing.

v2: don't compare with v1, it is changed a lot, to do the whole thing
    in .prepare instead of .commit. It is needed to be compatible with
    backup block job transaction actions [John]

Vladimir Sementsov-Ogievskiy (4):
  drity-bitmap: switch assert-fails to errors in bdrv_merge_dirty_bitmap
  dirty-bitmap: restore bitmap after merge
  blockdev: rename block-dirty-bitmap-clear transaction handlers
  qapi: add transaction support for x-block-dirty-bitmap-merge

 qapi/transaction.json        |  2 ++
 include/block/block_int.h    |  2 +-
 include/block/dirty-bitmap.h |  2 +-
 include/qemu/hbitmap.h       | 25 +++++++++++-------
 block/dirty-bitmap.c         | 36 ++++++++++++++++++++------
 blockdev.c                   | 60 +++++++++++++++++++++++++++++++-------------
 util/hbitmap.c               | 11 +++++---
 7 files changed, 100 insertions(+), 38 deletions(-)

-- 
2.11.1


Reply via email to