remove kvm_update_dirty_pages_log call from ram_save_block
commit97411cd2bc7e7e5f36d8f2bb5882627309ba9a90
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 23 Mar 2010 16:53:34 +0000 (23 13:53 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 24 Mar 2010 09:41:56 +0000 (24 11:41 +0200)
tree2152795361c215cbc7379e2040f661fc920cf484
parentef1ac550e43e366bb54565b359f007b8a72d3967
remove kvm_update_dirty_pages_log call from ram_save_block

There is no need to update the dirty log from inside ram_save_block,
since this happens through cpu_physical_sync_dirty_bitmap.

In stage 3, where the VM is stopped, cpu_physical_sync_dirty_bitmap
guarantees dirty log is synchronized before migration finishes.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu-kvm.c
qemu-kvm.h
vl.c