Skip to content

fix persistent bitmaps migration logic

Vladimir Sementsov-Ogievskiy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6iotests: 169: drop deprecated 'autoload' parametertests/qemu-iotests/169+0 -11 reply
2/6block/qcow2: improve error message in qcow2_inactivateblock/qcow2.c+3 -32 replies
3/6bloc/qcow2: drop dirty_bitmaps_loaded state variableblock/qcow2.c block/qcow2.h+2 -183 replies
4/6dirty-bitmaps: clean-up bitmaps loading and migration logicblock.c block/dirty-bitmap.c block/qcow2-bitmap.c +3 more+109 -3126 replies
5/6iotests: improve 169tests/qemu-iotests/169+9 -00 replies
6/6iotests: 169: add cases for source vm resumingtests/qemu-iotests/169 tests/qemu-iotests/169.out+61 -30 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJohn Snow
1/6R-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] fix persistent bitmaps migration logic

Hi all.

To continue talk about correct loading of persistent bitmaps here is a patch (04), with some surrounding.

Patch 04 contains new (and I hope, more clean) logic of bitmaps loading/inactivation/invalidation/migration, with the whole description. Let me not duplicate it here, you can safely start reading from 04 commit message and internal big comment.

Vladimir Sementsov-Ogievskiy (6):
iotests: 169: drop deprecated 'autoload' parameter block/qcow2: improve error message in qcow2_inactivate bloc/qcow2: drop dirty_bitmaps_loaded state variable
dirty-bitmaps: clean-up bitmaps loading and migration logic
iotests: improve 169
iotests: 169: add cases for source vm resuming

 block/qcow2.h                  |  1 -
 include/block/dirty-bitmap.h   |  2 +-
 block.c                        | 11 ++++--
 block/dirty-bitmap.c           | 36 +++++++-----------
 block/qcow2-bitmap.c           | 16 ++++++++
 block/qcow2.c                  | 86 ++++++++++++++++++++++++++++++++----------
 migration/block-dirty-bitmap.c | 10 ++++-
 tests/qemu-iotests/169         | 70 +++++++++++++++++++++++++++++++++-
 tests/qemu-iotests/169.out     |  4 +-
 9 files changed, 182 insertions(+), 54 deletions(-)
Signature · 1 line
2.11.1