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)
commitf2b93280edee5c7e95eecba48707a4e4a19b17c8
tree6b4ac484f00e60309f5878a17833dbd881ebb90f
parent3af18d9c5fe95a6b377dca7b9ff9c6d3ab7f0969
KVM: nVMX: Enable nested virtualize x2apic mode

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