Skip to content

Reduce down time during migration without shared storage

Liran Schour qemu-devel 3 versions – Applied

Status from this message: Applied all. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyApplied
  2. v24 patches 4 repliesSuperseded
  3. v14 patches 8 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5Remove unused codeblock-migration.c+18 -431 reply
2/5add qemu_get_clock_nsqemu-timer.h vl.c+20 -20 replies
3/5Tranfer dirty blocks during iterative phaseblock-migration.c+99 -360 replies
4/5Count dirty blocks and expose an API to get dirty countblock.c block.h block_int.h+16 -20 replies
5/5Try not to exceed max downtime on stage3block-migration.c+70 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/5] Reduce down time during migration without shared storage

This series of patches reduce the down time of the guest during a migration without shared storage. It does that by start transfer dirty blocks in the iterative phase. In the current code transferring of dirty blocks begins only during the full phase while the guest is suspended. Therefore the guest will be suspended linear to the amount of data that was written to disk during migration.

Changes from v2: - don't duplicate code by using qemu_get_clock_ns() use Paolo
Bonzini <[email protected]> patch.
- Coding style issues
- Remove unused constants
Changes from v1: - infer storage performance by get_clock()
- remove dirty max iterations, user is responsible for migration convergence
- remove trailing whitespaces
- minor cleanups

 block-migration.c |  235 +++++++++++++++++++++++++++++++++++++---------------
 block.c           |   16 +++-
 block.h           |    1 +
 block_int.h       |    1 +
 qemu-timer.h      |    1 +
 vl.c              |   21 +++++-
 6 files changed, 203 insertions(+), 72 deletions(-)