]> 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)
commit848e05cb8263d0b69bdc3ef1f31276e6614266e3
treef1c08677a8b33c0a9cbcd816cd5d603de486b340
parent1094db7ba17fe7511603b840c4c1a35b3b4aea36
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