Home
last modified time | relevance | path

Searched hist:"3 fdc6087df3be73a212a81ce5dd6516638568806" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/kvm/svm/
H A Dnested.cdiff 3fdc6087df3be73a212a81ce5dd6516638568806 Thu Sep 28 19:33:53 CEST 2023 Maxim Levitsky <mlevitsk@redhat.com> x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()

svm_leave_nested() similar to a nested VM exit, get the vCPU out of nested
mode and thus should end the local inhibition of AVIC on this vCPU.

Failure to do so, can lead to hangs on guest reboot.

Raise the KVM_REQ_APICV_UPDATE request to refresh the AVIC state of the
current vCPU in this case.

Fixes: f44509f849fe ("KVM: x86: SVM: allow AVIC to co-exist with a nested guest running")
Cc: stable@vger.kernel.org
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230928173354.217464-4-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>