diff options
author | Maxim Levitsky | 2023-09-28 20:33:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-10-25 12:03:04 +0200 |
commit | a556a0df8df0ad27b759a41dffe47eba3db1d98f (patch) | |
tree | f7c9cd1ff57fce4e2048f4c220af639fe03979d3 /include | |
parent | 54f030271d6b81996e5cb1059fd846f6a0af4bb8 (diff) |
x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
commit 3fdc6087df3be73a212a81ce5dd6516638568806 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions