diff options
author | 2025-02-14 17:14:34 -0800 | |
---|---|---|
committer | 2025-02-24 08:59:57 -0800 | |
commit | bb0978d95a551b8181469c4442fd59567c9dd999 (patch) | |
tree | 0119ed0e4a6f5018403db93c29c60d3dc5fa8e94 /scripts/lib/kdoc/kdoc_files.py | |
parent | KVM: x86/xen: Restrict hypercall MSR to unofficial synthetic range (diff) | |
download | linux-rng-bb0978d95a551b8181469c4442fd59567c9dd999.tar.xz linux-rng-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 <paul@xen.org>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Link: https://lore.kernel.org/r/20250215011437.1203084-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions