]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: inhibit APICv/AVIC on changes to APIC ID or APIC base
authorMaxim Levitsky <mlevitsk@redhat.com>
Mon, 6 Jun 2022 18:08:24 +0000 (21:08 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jun 2022 14:52:18 +0000 (10:52 -0400)
commit181c30806bb158d29532a34e08dee7fcde7d7a81
treed132dd783c2f463eedffd3de0eafcd2f4a49a1c5
parent94e2a27d42e8294935e5886101f09ae260219cba
KVM: x86: inhibit APICv/AVIC on changes to APIC ID or APIC base

Neither of these settings should be changed by the guest and it is
a burden to support it in the acceleration code, so just inhibit
this code instead.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220606180829.102503-3-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/lapic.c
arch/x86/kvm/svm/avic.c
arch/x86/kvm/vmx/vmx.c