OSDN Git Service

KVM: SVM: add warning for mistmatch between AVIC vcpu state and AVIC inhibition
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 10 Aug 2021 20:52:45 +0000 (23:52 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Aug 2021 20:06:24 +0000 (16:06 -0400)
commit4628efcd4e8963a41e877318cd10346dea9a6e00
tree7dd9616b87e29388f01eca47ebb110b270e1bc4e
parentb0a1637f64b06586752cc507b94e4aeff02588d6
KVM: SVM: add warning for mistmatch between AVIC vcpu state and AVIC inhibition

It is never a good idea to enter a guest on a vCPU when the
AVIC inhibition state doesn't match the enablement of
the AVIC on the vCPU.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210810205251.424103-11-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c