diff options
author | Sean Christopherson <seanjc@google.com> | 2023-08-24 18:36:20 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-10-04 15:08:53 -0700 |
commit | aeb904f6b9f1de588cf3130dc8a2c458b236704e (patch) | |
tree | 0773fdadcdcf863edc4f9f64cdb45940f30abc0d /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | bc3d7c5570a03ab45bde4bae83697c80900fb714 (diff) |
KVM: x86: Refactor can_emulate_instruction() return to be more expressive
Refactor and rename can_emulate_instruction() to allow vendor code to
return more than true/false, e.g. to explicitly differentiate between
"retry", "fault", and "unhandleable". For now, just do the plumbing, a
future patch will expand SVM's implementation to signal outright failure
if KVM attempts EMULTYPE_SKIP on an SEV guest.
No functional change intended (or rather, none that are visible to the
guest or userspace).
Link: https://lore.kernel.org/r/20230825013621.2845700-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions