]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Drop vendor specific functions for APICv/AVIC enablement
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 9 Jun 2021 15:09:09 +0000 (17:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:33 +0000 (13:09 -0400)
commit93a277916bb5504e31ac956b415f9c35d9bf93a1
tree89d023063953ca51ca4872c13ce4fa140260a78b
parent5988a22f6fa3cefe2dd0677d24269a33f4452b64
KVM: x86: Drop vendor specific functions for APICv/AVIC enablement

Now that APICv/AVIC enablement is kept in common 'enable_apicv' variable,
there's no need to call kvm_apicv_init() from vendor specific code.

No functional change intended.

Reviewed-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210609150911.a0f7b32-3-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c