Skip to content

Make QED with live migration safe

Benoît Canet qemu-devel 3 versions – Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 3 repliesApplied
  2. v27 patches 4 repliesSuperseded
  3. v1 RFC10 patches 7 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7block: Add new BDRV_O_INCOMING flag to notice incoming live migrationblock.h+1 -00 replies
2/7block: add a function to clear incoming live migration flagsblock.c block.h+11 -00 replies
3/7blockdev: open images with BDRV_O_INCOMING on incoming live migrationblockdev.c+4 -00 replies
4/7qed: add bdrv_invalidate_cache to be called after incoming live migrationblock/qed.c+10 -00 replies
5/7migration: clear BDRV_O_INCOMING flags on end of incoming live migrationmigration.c+1 -00 replies
6/7qed: honor BDRV_O_INCOMING for incoming live migrationblock/qed.c+3 -20 replies
7/7qed: remove incoming live migration blockerblock/qed.c block/qed.h+0 -110 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan Hajnoczi
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH V3 0/7] Make QED with live migration safe

This is the third version of a patchset aiming at making the combined usage of QED and live migration safe.

v3:

-qed: Drop the flags qed structure member and use bs->open_flags to reopen (stefana) -qed: When opening honor flags parameter instead of bs->open_flags

v2:

-The block layer is not aware anymore of the migration state. (stefanha) -No bdrv_invalidate_cache renaming since the semantic do not change. (stefanha) -The qed bdrv_invalidate_cache function does a reopening of the image to flush
metadata and to do the image integrity check. (stefanha)

Benoît Canet (7):
block: Add new BDRV_O_INCOMING flag to notice incoming live migration
block: add a function to clear incoming live migration flags
blockdev: open images with BDRV_O_INCOMING on incoming live migration
qed: add bdrv_invalidate_cache to be called after incoming live
migration
migration: clear BDRV_O_INCOMING flags on end of incoming live
migration
qed: honor BDRV_O_INCOMING for incoming live migration
qed: remove incoming live migration blocker

 block.c     |    9 +++++++++
 block.h     |    3 +++
 block/qed.c |   24 +++++++++++++-----------
 block/qed.h |    2 --
 blockdev.c  |    4 ++++
 migration.c |    1 +
 6 files changed, 30 insertions(+), 13 deletions(-)
Signature · 1 line
1.7.7.6