aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-03-22 14:33:00 +0000
committerPaolo Bonzini <[email protected]>2023-03-27 14:15:11 +0000
commit80962ec912db56d323883154efc2297473e692cb (patch)
tree43bb0a861d270eef54153317a2c79402dbba5d58 /tools/perf/scripts/python/export-to-sqlite.py
parentKVM: x86: Clear "has_error_code", not "error_code", for RM exception injection (diff)
downloadkernel-80962ec912db56d323883154efc2297473e692cb.tar.gz
kernel-80962ec912db56d323883154efc2297473e692cb.zip
KVM: nVMX: Do not report error code when synthesizing VM-Exit from Real Mode
Don't report an error code to L1 when synthesizing a nested VM-Exit and L2 is in Real Mode. Per Intel's SDM, regarding the error code valid bit: This bit is always 0 if the VM exit occurred while the logical processor was in real-address mode (CR0.PE=0). The bug was introduced by a recent fix for AMD's Paged Real Mode, which moved the error code suppression from the common "queue exception" path to the "inject exception" path, but missed VMX's "synthesize VM-Exit" path. 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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions