KVM: nVMX: Enable nested virtualize x2apic mode
authorWincy Van <fanwenyi0529@gmail.com>
Tue, 3 Feb 2015 15:56:03 +0000 (23:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Feb 2015 16:06:17 +0000 (17:06 +0100)
When L2 is using x2apic, we can use virtualize x2apic mode to
gain higher performance, especially in apicv case.

This patch also introduces nested_vmx_check_apicv_controls
for the nested apicv patches.

Signed-off-by: Wincy Van <fanwenyi0529@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c

Simple merge