kvm: Add missing bits to support live migration
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 1 May 2009 22:22:51 +0000 (00:22 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 22 May 2009 15:50:33 +0000 (10:50 -0500)
commitb0a46a333acfd78da56cf6aebb95f4a5dfb3a4f2
tree7bb31d0a51df11ba7d6b7b2b6bb11562bae0fce2
parent151f7749f26e8b0eaca517376a89c01430c584e5
kvm: Add missing bits to support live migration

This patch adds the missing hooks to allow live migration in KVM mode.
It adds proper synchronization before/after saving/restoring the VCPU
states (note: PPC is untested), hooks into
cpu_physical_memory_set_dirty_tracking() to enable dirty memory logging
at KVM level, and synchronizes that drity log into QEMU's view before
running ram_live_save().

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
exec.c
target-i386/machine.c
target-ppc/machine.c
vl.c