qmp dirty bitmap API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 21 repliesIn review
- v14 patches 39 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | block: maintain persistent disabled bitmapsblock/ block/ block/ +4 more | +14 | 2 replies | |
| 2/6 | block/dirty-bitmap: add lock to bdrv_enable/disable_dirty_bitmapblock/ | +4 | 1 reply | |
| 3/6 | qapi: add block-dirty-bitmap-enable/disableblockdev.c qapi/ | +84 | 7 replies | |
| 4/6 | qmp: transaction support for block-dirty-bitmap-enable/disableblockdev.c qapi/ | +83 | 3 replies | |
| 5/6 | qapi: add block-dirty-bitmap-mergeblock/ blockdev.c include/ +1 more | +88 | 3 replies | |
| 6/6 | qapi: add disabled parameter to block-dirty-bitmap-addblockdev.c qapi/ | +15 | 0 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | John Snow |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/6] qmp dirty bitmap API
Hi all.
There are three qmp commands, needed to implement external backup API.
Using these three commands, client may do all needed bitmap management by hand:
on backup start we need to do a transaction:
{disable old bitmap, create new bitmap}
on backup success:
drop old bitmap
on backup fail:
enable old bitmap
merge new bitmap to old bitmap
drop new bitmap
v2: fix merge command deadlock
add new patches: 1 and 6
Vladimir Sementsov-Ogievskiy (6):
block: maintain persistent disabled bitmaps block/dirty-bitmap: add lock to bdrv_enable/disable_dirty_bitmap
qapi: add block-dirty-bitmap-enable/disable
qmp: transaction support for block-dirty-bitmap-enable/disable
qapi: add block-dirty-bitmap-merge
qapi: add disabled parameter to block-dirty-bitmap-add
qapi/block-core.json | 92 ++++++++++++++++++++++- qapi/transaction.json | 4 + block/qcow2.h | 2 +- include/block/dirty-bitmap.h | 3 +- block/dirty-bitmap.c | 42 ++++++----- block/qcow2-bitmap.c | 12 +-- block/qcow2.c | 2 +- blockdev.c | 169 +++++++++++++++++++++++++++++++++++++++++-- 8 files changed, 287 insertions(+), 39 deletions(-)
Signature · 1 line
2.11.1