Skip to content

fix bitmaps migration through shared storage

Vladimir Sementsov-Ogievskiy qemu-devel 4 versions – Applied

Status from this message: Thanks, applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 13 repliesApplied
  2. v33 patches 5 repliesSuperseded
  3. v23 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches9 repliesSuperseded

v2 from the cover letter

John, thank you for reviewing v1.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3qcow2-bitmap: add qcow2_reopen_bitmaps_rw_hint()block/qcow2-bitmap.c block/qcow2.h+16 -10 replies
2/3qcow2: fix bitmaps loading when bitmaps already existblock/qcow2.c+16 -10 replies
2/3qcow2: handle reopening bitmaps on bdrv_invalidate_cacheblock/qcow2.c+16 -11 reply
3/3iotests: enable shared migration cases in 169tests/qemu-iotests/169 tests/qemu-iotests/169.out+5 -70 replies

Reviews trailers per patch

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

PatchJohn SnowMax Reitz
1/3R-b R-b
2/3
2/3
3/3

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

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 for 2.12 0/3] fix bitmaps migration through shared storage

Hi all.

This fixes bitmaps migration through shared storage. Look at 02 for details.

The bug introduced in 2.10 with the whole qcow2 bitmaps feature, so qemu-stable in CC. However I doubt that someone really suffered from this.

Do we need dirty bitmaps at all in inactive case? - that was a question in v2. And, keeping in mind that we are going to use inactive mode not only for incoming migration, I'm not sure that answer is NO (but, it may be "NO" for 2.10, 2.11), so let's fix it in proposed here manner at least for 2.12.

v4:

01: r-b: Max
02: rewrite to do not load bitmaps if any bitmaps alredy exit, drop r-b 03: add missed change of 169.out

v3: tiny context changes in 01,02
03: instead of a separate test, enable corresponding case in existent one

v2:
John, thank you for reviewing v1.
changes:
add John's r-bs, change s/timeout=10/timeout=10.0/ in last patch and drop old 03 patch, related to this timeout fix.

Vladimir Sementsov-Ogievskiy (3):
qcow2-bitmap: add qcow2_reopen_bitmaps_rw_hint()
qcow2: fix bitmaps loading when bitmaps already exist
iotests: enable shared migration cases in 169

 block/qcow2.h              |  2 ++
 block/qcow2-bitmap.c       | 15 ++++++++++++++-
 block/qcow2.c              | 17 ++++++++++++++++-
 tests/qemu-iotests/169     |  8 +++-----
 tests/qemu-iotests/169.out |  4 ++--
 5 files changed, 37 insertions(+), 9 deletions(-)
Signature · 1 line
2.11.1