diff options
| author | Sean Christopherson <[email protected]> | 2025-02-15 01:14:34 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2025-02-24 16:59:57 +0000 |
| commit | bb0978d95a551b8181469c4442fd59567c9dd999 (patch) | |
| tree | 0119ed0e4a6f5018403db93c29c60d3dc5fa8e94 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | KVM: x86/xen: Restrict hypercall MSR to unofficial synthetic range (diff) | |
| download | kernel-bb0978d95a551b8181469c4442fd59567c9dd999.tar.gz kernel-bb0978d95a551b8181469c4442fd59567c9dd999.zip | |
KVM: x86/xen: Add an #ifdef'd helper to detect writes to Xen MSR
Add a helper to detect writes to the Xen hypercall page MSR, and provide a
stub for CONFIG_KVM_XEN=n to optimize out the check for kernels built
without Xen support.
Reviewed-by: Paul Durrant <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
