summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/svm.c
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2023-09-28 20:33:53 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-12 18:09:00 +0300
commit3fdc6087df3be73a212a81ce5dd6516638568806 (patch)
treeb7ebadc224491c13ef13bd4bf94778e25c2ae155 /arch/x86/kvm/svm/svm.c
parent2dcf37abf9d3aab7f975002d29fc7c17272def38 (diff)
downloadlinux-3fdc6087df3be73a212a81ce5dd6516638568806.tar.xz
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>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
0 files changed, 0 insertions, 0 deletions