]> Git Repo - qemu.git/commit
kvm-all: Sync dirty-bitmap from kvm before kvm destroy the corresponding dirty_bitmap
authorzhanghailiang <[email protected]>
Thu, 2 Apr 2015 19:26:31 +0000 (19:26 +0000)
committerPaolo Bonzini <[email protected]>
Thu, 2 Apr 2015 13:58:37 +0000 (15:58 +0200)
commit4cc856fabae1447d53890e707c70f257a7691174
treec82675888017050ea43b23104926b48d5b2bcaad
parent0a7cf217d81161e36af2344e911d56d4f9fef9c5
kvm-all: Sync dirty-bitmap from kvm before kvm destroy the corresponding dirty_bitmap

Sometimes, we destroy the dirty_bitmap in kvm_memory_slot before any sync action
occur, this bit in dirty_bitmap will be missed, and which will lead the corresponding
dirty pages to be missed in migration.

This usually happens when do migration during VM's Start-up or Reboot.

Signed-off-by: zhanghailiang <[email protected]>
[Use s->migration_log instead of exec.c's in_migration. - Paolo]
Signed-off-by: Paolo Bonzini <[email protected]>
kvm-all.c
This page took 0.025253 seconds and 4 git commands to generate.