The following changes since commit b9404bf592e7ba74180e1a54ed7a266ec6ee67f2: Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20190715' into staging (2019-07-15 12:22:07 +0100) are available in the Git repository at: https://github.com/juanquintela/qemu.git tags/migration-pull-request for you to fetch changes up to 40c4d4a835453452a262f32450a0449886aa19ce: migration: always initial RAMBlock.bmap to 1 for new migration (2019-07-15 15:47:47 +0200) ---------------------------------------------------------------- Pull request: - update last pull requset - drop multifd test: For some reason, 32bit and a packed struct are giving me too much trouble. Still investigating. - New fixes from upstream. ---------------------------------------------------------------- Ivan Ren (1): migration: always initial RAMBlock.bmap to 1 for new migration Juan Quintela (2): migration: fix multifd_recv event typo migration-test: rename parameter to parameter_int Peng Tao (1): migration: allow private destination ram with x-ignore-shared Peter Xu (10): migration: No need to take rcu during sync_dirty_bitmap memory: Don't set migration bitmap when without migration bitmap: Add bitmap_copy_with_{src|dst}_offset() memory: Pass mr into snapshot_and_clear_dirty memory: Introduce memory listener hook log_clear() kvm: Update comments for sync_dirty_bitmap kvm: Persistent per kvmslot dirty bitmap kvm: Introduce slots lock for memory listener kvm: Support KVM_CLEAR_DIRTY_LOG migration: Split log_clear() into smaller chunks Wei Yang (7): migration/multifd: call multifd_send_sync_main when sending RAM_SAVE_FLAG_EOS migration/xbzrle: update cache and current_data in one place cutils: remove one unnecessary pointer operation migration/multifd: sync packet_num after all thread are done migration/ram.c: reset complete_round when we gets a queued page migration/postcopy: fix document of postcopy_send_discard_bm_ram() migration/postcopy: remove redundant cpu_synchronize_all_post_init accel/kvm/kvm-all.c | 260 ++++++++++++++++++++++++++++++++++++--- accel/kvm/trace-events | 1 + exec.c | 15 ++- include/exec/memory.h | 19 +++ include/exec/ram_addr.h | 92 +++++++++++++- include/qemu/bitmap.h | 9 ++ include/sysemu/kvm_int.h | 4 + memory.c | 56 ++++++++- migration/migration.c | 4 + migration/migration.h | 27 ++++ migration/ram.c | 113 ++++++++++++----- migration/savevm.c | 1 - migration/trace-events | 3 +- tests/Makefile.include | 2 + tests/migration-test.c | 55 +++++---- tests/test-bitmap.c | 72 +++++++++++ util/bitmap.c | 85 +++++++++++++ util/cutils.c | 8 +- 18 files changed, 732 insertions(+), 94 deletions(-) create mode 100644 tests/test-bitmap.c -- 2.21.0