KVM: Move virtualization deactivation from CPU_DEAD state to CPU_DOWN_PREPARE
authorJeremy Katz <katzj@redhat.com>
Mon, 19 Feb 2007 12:37:46 +0000 (14:37 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 Mar 2007 09:12:39 +0000 (11:12 +0200)
commit43934a38d7cb39ff33baedc7f2c40a2a891116fa
tree14d37a98c2ce5ac05e23ef3f2411d2df90988504
parentbf3f8e86c2e22b9bd1375be1bbbd67384dba4342
KVM: Move virtualization deactivation from CPU_DEAD state to CPU_DOWN_PREPARE

This gives it more chances of surviving suspend.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c