]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit4651fc56bad01d340844c5fbf1e1f817639208ab
tree89d023063953ca51ca4872c13ce4fa140260a78b
parentfdf513e37a3bd9f498179c878cfcd59693bf507c
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.1471882-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