OSDN Git Service

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)
commit3743c2f0251743b8ae968329708bbbeefff244cf
treed132dd783c2f463eedffd3de0eafcd2f4a49a1c5
parenta9603ae0e4ee6e7de0184801d4abe5925f43b49c
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