xen: HVM X2APIC support
authorSheng Yang <sheng@linux.intel.com>
Tue, 21 Dec 2010 06:18:49 +0000 (14:18 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 7 Jan 2011 15:03:50 +0000 (10:03 -0500)
commitd9b8ca8474fd4fdd43ba6d97a4fee8b49b978067
tree465e7e44d174ce1ad6211a4fbc7d018c01dc4627
parent2904ed8dd5a748c52caf4d8b09d3d9834b5932fa
xen: HVM X2APIC support

This patch is similiar to Gleb Natapov's patch for KVM, which enable the
hypervisor to emulate x2apic feature for the guest. By this way, the emulation
of lapic would be simpler with x2apic interface(MSR), and faster.

[v2: Re-organized 'xen_hvm_need_lapic' per Ian Campbell suggestion]

Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/hypervisor.h
arch/x86/include/asm/xen/hypervisor.h
arch/x86/xen/enlighten.c