Skip to content
Commit 00682995 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: SVM: Treat all "skip" emulation for SEV guests as outright failures



Treat EMULTYPE_SKIP failures on SEV guests as unhandleable emulation
instead of simply resuming the guest, and drop the hack-a-fix which
effects that behavior for the INT3/INTO injection path.  If KVM can't
skip an instruction for which KVM has already done partial emulation,
resuming the guest is undesirable as doing so may corrupt guest state.

Link: https://lore.kernel.org/r/20230825013621.2845700-5-seanjc@google.com
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent aeb904f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment