diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-06-12 16:01:08 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-08 13:41:03 -0700 |
| commit | e27ca3dfbb737c2335bbaec6981f2fddddf1cff5 (patch) | |
| tree | eb8830a7046667d8d52bc9399ec6fe4be63eb3d9 /tools/perf/scripts/python/bin | |
| parent | 55ac576a9bf43b32ef4de926316f3a57f08887e0 (diff) | |
KVM: x86: Manually check DR4/5 write values to fix SVM intercept priority
Manually (pre)check the values being written to DR4/5, i.e. the DR6/DR7
aliases, instead of relying on ->set_dr() => kvm_set_dr() to signal a #GP.
SVM unfortunately prioritizes all exceptions over an instruction intercept,
i.e. nSVM is relying on the emulator to perform *all* exception checks
prior to attempting to execute the instruction.
Fixes: 3b88e41a4134 ("KVM: SVM: Add intercept check for accessing dr registers")
Reviewed-by: Jim Mattson <jmattson@google.com>
Link: https://patch.msgid.link/20260612230113.684301-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
