diff options
author | Sean Christopherson <[email protected]> | 2022-01-20 01:07:11 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-01-26 12:14:59 -0500 |
commit | 55467fcd55b89c622e62b4afe60ac0eb2fae91f2 (patch) | |
tree | 0be769041f9b3727aaa41c50a75c292f474e6d83 /scripts/gdb/linux/mm.py | |
parent | 47c28d436f409f5b009dc82bd82d4971088aa391 (diff) |
KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests
Always signal that emulation is possible for !SEV guests regardless of
whether or not the CPU provided a valid instruction byte stream. KVM can
read all guest state (memory and registers) for !SEV guests, i.e. can
fetch the code stream from memory even if the CPU failed to do so because
of the SMAP errata.
Fixes: 05d5a4863525 ("KVM: SVM: Workaround errata#1096 (insn_len maybe zero on SMAP violation)")
Cc: [email protected]
Cc: Tom Lendacky <[email protected]>
Cc: Brijesh Singh <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Liam Merwick <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions