kvm: qemu: save and load mp state
commit6b66c9a989e3b7db212502a4865cd92c41d7d801
authorMarcelo Tosatti <mtosatti@redhat.com>
Fri, 11 Apr 2008 16:24:43 +0000 (11 13:24 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 13 Apr 2008 15:01:23 +0000 (13 18:01 +0300)
tree5c4eb3b2e3fdaf3f44c07d10f50172d607ddbd14
parent1dded566c8dfc295569fa89236250f80bb727b67
kvm: qemu: save and load mp state

Use the new interface to save and restore MP_STATE for all vcpu's.

Increase version_id for cpu_load/cpu_save.

Fixes SMP migration.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/hw/pc.c
qemu/qemu-kvm-x86.c
qemu/qemu-kvm.h
qemu/target-i386/cpu.h
qemu/vl.c