KVM: enable in-kernel APIC INIT/SIPI handling
authorHe, Qing <qing.he@intel.com>
Mon, 3 Sep 2007 14:07:41 +0000 (17:07 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:26 +0000 (10:18 +0200)
commitc5ec153402b6d276fe20029da1059ba42a4b55e5
treea323fd0466f606b66fc7239e78569863d62f6300
parent932f72adbe76f098922c746737cb0bd75fc21e27
KVM: enable in-kernel APIC INIT/SIPI handling

This patch enables INIT/SIPI handling using in-kernel APIC by
introducing a ->mp_state field to emulate the SMP state transition.

[avi: remove smp_processor_id() warning]

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/irq.h
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/lapic.c
drivers/kvm/vmx.c