KVM: do not call hardware_disable() on CPU_UP_CANCELED
authorLai Jiangshan <laijs@cn.fujitsu.com>
Sat, 17 Apr 2010 09:00:19 +0000 (17:00 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:04 +0000 (12:18 +0300)
commit66cbff59a16017234ea6c80ecddfc17b27a83504
treee2a1dde14cb9b60434f4f8c4bef424817c2b2df4
parent87bc3bf972af0585ba5415aebbc8bd09b6a2ee94
KVM: do not call hardware_disable() on CPU_UP_CANCELED

When CPU_UP_CANCELED, hardware_enable() has not been called at the CPU
which is going up because raw_notifier_call_chain(CPU_ONLINE)
has not been called for this cpu.

Drop the handling for CPU_UP_CANCELED.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c