]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
migration: sync all address spaces
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Sep 2016 14:08:31 +0000 (16:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Sep 2016 09:57:29 +0000 (11:57 +0200)
commit9c1f8f4493e8355d0e48f7d1eebdf86893ba082d
treee47020351bb35ddcba713a692c853a9fad882fce
parentcc9d8a3b2c41c22fb09f90f3085e6036c199c3ca
migration: sync all address spaces

Migrating a VM during reboot sometimes results in differences
between the source and destination in the SMRAM area.

This is because migration_bitmap_sync() only fetches from KVM
the dirty log of address_space_memory.  SMRAM memory slots
are ignored and the modifications to SMRAM are not sent to the
destination.

Reported-by: He Rongguang <herongguang.he@huawei.com>
Reviewed-by: He Rongguang <herongguang.he@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/exec/memory.h
memory.c
migration/ram.c