]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd570bd886079d430aba3333e6ee2b80e6b0fe0fe
treef1c08677a8b33c0a9cbcd816cd5d603de486b340
parent8c8b166d2dce46cf3b0c2e3d43e5d5dbe6a92141
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