OpenCloudOS-Kernel/drivers/kvm
Avi Kivity 6ec8a856e4 KVM: Avoid calling smp_call_function_single() with interrupts disabled
When taking a cpu down, we need to hardware_disable() it.
Unfortunately, the CPU_DYING notifier is called with interrupts
disabled, which means we can't use smp_call_function_single().

Fortunately, the CPU_DYING notifier is always called on the dying cpu,
so we don't need to use the function at all and can simply call
hardware_disable() directly.

Tested-by: Paolo Ornati <ornati@fastwebnet.it>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-19 10:13:49 -07:00
..
Kconfig Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
Makefile [PATCH] kvm: userspace interface 2006-12-10 09:57:22 -08:00
kvm.h KVM: x86 emulator: implement rdmsr and wrmsr 2007-07-20 20:16:29 +03:00
kvm_main.c KVM: Avoid calling smp_call_function_single() with interrupts disabled 2007-08-19 10:13:49 -07:00
kvm_svm.h KVM: SVM: Only save/restore MSRs when needed 2007-05-03 10:52:32 +03:00
mmu.c KVM: MMU: Fix cleaning up the shadow page allocation cache 2007-07-20 23:48:47 -07:00
paging_tmpl.h KVM: MMU: Store nx bit for large page shadows 2007-07-20 20:16:29 +03:00
segment_descriptor.h [PATCH] kvm: userspace interface 2006-12-10 09:57:22 -08:00
svm.c KVM: Clean up #includes 2007-07-16 12:05:49 +03:00
svm.h KVM: SVM: Reliably detect if SVM was disabled by BIOS 2007-07-16 12:05:49 +03:00
vmx.c KVM: Clean up #includes 2007-07-16 12:05:49 +03:00
vmx.h [PATCH] kvm: vmx: handle triple faults by returning EXIT_REASON_SHUTDOWN to userspace 2007-02-12 09:48:40 -08:00
x86_emulate.c KVM: x86 emulator: fix debug reg mov instructions 2007-08-06 17:54:41 -07:00
x86_emulate.h KVM: Allow passing 64-bit values to the emulated read/write API 2007-05-03 10:52:31 +03:00