Skip to content

migration: Fixes to the 'background-snapshot' code

Andrey Gruzdev qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 12 repliesSuperseded

Changes in v2 from the cover letter

* Added comment over the overlooked qemu_flush() in bg_migration_thread

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3migration: Fix missing qemu_fflush() on buffer file in bg_migration_threadmigration/migration.c+7 -10 replies
2/3migration: Inhibit virtio-balloon for the duration of background snapshothw/virtio/virtio-balloon.c include/migration/misc.h migration/migration.c+16 -20 replies
3/3migration: Pre-fault memory before starting background snasphotmigration/migration.c migration/ram.c migration/ram.h+55 -00 replies

Reviews trailers per patch

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

PatchDavid Hildenbrand
1/3
2/3R-b
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] migration: Fixes to the 'background-snapshot' code

Changes v1->v2:
* Added comment over the overlooked qemu_flush() in bg_migration_thread

Changes v0->v1:
* Using qemu_real_host_page_size instead of TARGET_PAGE_SIZE for host page size in ram_block_populate_pages()
* More elegant implementation of ram_block_populate_pages()

This patch series contains:
* Fix to the issue with occasionally truncated non-iterable device state
* Solution to compatibility issues with virtio-balloon device
* Fix to the issue when discarded or never populated pages miss UFFD write protection and get into migration stream in dirty state

Andrey Gruzdev (3):
migration: Fix missing qemu_fflush() on buffer file in
bg_migration_thread
migration: Inhibit virtio-balloon for the duration of background
snapshot
migration: Pre-fault memory before starting background snasphot

 hw/virtio/virtio-balloon.c |  8 +++++--
 include/migration/misc.h   |  2 ++
 migration/migration.c      | 22 ++++++++++++++++-
 migration/ram.c            | 48 ++++++++++++++++++++++++++++++++++++++
 migration/ram.h            |  1 +
 5 files changed, 78 insertions(+), 3 deletions(-)
Signature · 1 line
2.27.0