]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: nSVM: Clear GIF on nested #VMEXIT(INVALID)
authorYosry Ahmed <yosry@kernel.org>
Tue, 3 Mar 2026 00:34:04 +0000 (00:34 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 5 Mar 2026 00:08:49 +0000 (16:08 -0800)
commitf85a6ce06e4a0d49652f57967a649ab09e06287c
treeeff7b4effef22491a8ade7c262b8411659ce584e
parent5d291ef0585ed880ed4dd71ea1a5965e0a65fb53
KVM: nSVM: Clear GIF on nested #VMEXIT(INVALID)

According to the APM, GIF is set to 0 on any #VMEXIT, including
an #VMEXIT(INVALID) due to failed consistency checks. Clear GIF on
consistency check failures.

Fixes: 3d6368ef580a ("KVM: SVM: Add VMRUN handler")
Cc: stable@vger.kernel.org
Signed-off-by: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260303003421.2185681-11-yosry@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/nested.c