diff options
author | Peter Gonda <pgonda@google.com> | 2024-02-22 16:42:53 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-02-28 20:58:13 +0000 |
commit | 31e00dae72fda939a084cda86b068ac9c302a2d3 (patch) | |
tree | b3705e3ea4095c8f5cc99d5090613bc2332cd57b /tools/testing/selftests/kvm/lib/kvm_util.c | |
parent | d210eebb51a23ce45b16c493a51c17b664e81de7 (diff) |
KVM: selftests: Explicitly ucall pool from shared memory
Allocate the common ucall pool using vm_vaddr_alloc_shared() so that the
ucall structures will be placed in shared (unencrypted) memory for VMs
with support for protected (encrypted) memory, e.g. x86's SEV.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Vishal Annapurve <vannapurve@google.com>
Cc: Ackerly Tng <ackerleytng@google.com>
cc: Andrew Jones <andrew.jones@linux.dev>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Michael Roth <michael.roth@amd.com>
Tested-by: Carlos Bilbao <carlos.bilbao@amd.com>
Signed-off-by: Peter Gonda <pgonda@google.com>
[sean: massage changelog]
Link: https://lore.kernel.org/r/20240223004258.3104051-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions