]> 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)
commit36e91d4510ec17e6563ece2cfa933994cfe8817d
treed132dd783c2f463eedffd3de0eafcd2f4a49a1c5
parent7dabe19c882e4b073ddc79a31b9ecd259a8796c3
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