KVM: x86: replace vm_has_apicv hook with cpu_uses_apicv
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Jul 2015 09:49:59 +0000 (11:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:24 +0000 (15:06 +0200)
commitd50ab6c1a2b24e12d3012d7beb343eba5b94a6ca
treef1c08677a8b33c0a9cbcd816cd5d603de486b340
parent3bb345f387dd26beb097cf776e342bc0d96d805a
KVM: x86: replace vm_has_apicv hook with cpu_uses_apicv

This will avoid an unnecessary trip to ->kvm and from there to the VPIC.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/irq.c
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c