summaryrefslogtreecommitdiff
path: root/scripts/module-common.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-06-12 00:47:44 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2025-06-12 00:51:42 -0400
commit8046d29dde17002523f94d3e6e0ebe486ce52166 (patch)
tree8fae8cdb87a817126365595643df883f16b5e979 /scripts/module-common.c
parentaa2024c01a9afba6728b362626f868811ca872ee (diff)
KVM: x86/mmu: Reject direct bits in gpa passed to KVM_PRE_FAULT_MEMORY
Only let userspace pass the same addresses that were used in KVM_SET_USER_MEMORY_REGION (or KVM_SET_USER_MEMORY_REGION2); gpas in the the upper half of the address space are an implementation detail of TDX and KVM. Extracted from a patch by Sean Christopherson <seanjc@google.com>. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions