linux/virt/kvm
Avi Kivity ca242ac996 KVM: Fix reboot on Intel hosts
When we reboot, we disable vmx extensions or otherwise INIT gets blocked.
If a task on another cpu hits a vmx instruction, it will fault if vmx is
disabled.  We trap that to avoid a nasty oops and spin until the reboot
completes.

Problem is, we sleep with interrupts disabled.  This blocks smp_send_stop()
from running, and the reboot process halts.

Fix by enabling interrupts before spinning.

KVM-Stable-Tag.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2010-09-23 11:31:56 -03:00
..
assigned-dev.c
coalesced_mmio.c
coalesced_mmio.h
eventfd.c KVM: fix irqfd assign/deassign race 2010-09-23 11:31:51 -03:00
ioapic.c KVM: Convert mask notifiers to use irqchip/pin instead of gsi 2010-08-02 06:40:39 +03:00
ioapic.h
iodev.h
iommu.c KVM: Use u64 for frame data types 2010-08-02 06:39:44 +03:00
irq_comm.c KVM: Convert mask notifiers to use irqchip/pin instead of gsi 2010-08-02 06:40:39 +03:00
Kconfig
kvm_main.c KVM: Fix reboot on Intel hosts 2010-09-23 11:31:56 -03:00