aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-03-22 07:32:59 -0700
committerPaolo Bonzini <[email protected]>2023-03-27 10:15:10 -0400
commit6c41468c7c12d74843bb414fc00307ea8a6318c3 (patch)
tree2d22a37ea8fd701ea47c91d74fd398b372d80849 /scripts/bpf_doc.py
parent0dc902267cb32ade1c29eed8208e566ad743518a (diff)
KVM: x86: Clear "has_error_code", not "error_code", for RM exception injection
When injecting an exception into a vCPU in Real Mode, suppress the error code by clearing the flag that tracks whether the error code is valid, not by clearing the error code itself. The "typo" was introduced by recent fix for SVM's funky Paged Real Mode. Opportunistically hoist the logic above the tracepoint so that the trace is coherent with respect to what is actually injected (this was also the behavior prior to the buggy commit). Fixes: b97f07458373 ("KVM: x86: determine if an exception has an error code only when injecting it.") Cc: [email protected] Cc: Maxim Levitsky <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions