diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-12 00:47:44 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-12 00:51:42 -0400 |
commit | 8046d29dde17002523f94d3e6e0ebe486ce52166 (patch) | |
tree | 8fae8cdb87a817126365595643df883f16b5e979 /scripts/module-common.c | |
parent | aa2024c01a9afba6728b362626f868811ca872ee (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