diff options
author | Michael Roth <[email protected]> | 2024-02-22 16:42:52 -0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-02-28 20:58:13 +0000 |
commit | d210eebb51a23ce45b16c493a51c17b664e81de7 (patch) | |
tree | a880f390b58821af7f9d02443b5fc9f784991367 /scripts/gdb/linux/utils.py | |
parent | cd8eb2913205e5a13ec807061c8f72d6fee624c7 (diff) |
KVM: selftests: Add support for protected vm_vaddr_* allocations
Test programs may wish to allocate shared vaddrs for things like
sharing memory with the guest. Since protected vms will have their
memory encrypted by default an interface is needed to explicitly
request shared pages.
Implement this by splitting the common code out from vm_vaddr_alloc()
and introducing a new vm_vaddr_alloc_shared().
Cc: Paolo Bonzini <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: Vishal Annapurve <[email protected]>
Cc: Ackerly Tng <[email protected]>
cc: Andrew Jones <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Michael Roth <[email protected]>
Reviewed-by: Itaru Kitayama <[email protected]>
Tested-by: Carlos Bilbao <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
Signed-off-by: Peter Gonda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions