diff options
| author | Lisa Wang <wyihan@google.com> | 2026-10-01 19:37:40 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-10-12 08:08:29 -0700 |
| commit | a6270ed4bec0caa25913082e71ce22254e9cd3ed (patch) | |
| tree | d6368be814e17a8b6462a529886c5bac86b48365 /tools/perf/scripts/python/bin | |
| parent | ad06cf5338bc5501bd989584db6dc71972bb436a (diff) | |
KVM: selftests: Support guest_memfd in-place conversion
With guest_memfd in-place conversion, the memory region can be set as
shared, eliminating the need for dual-backed memory.
By setting the region to shared initially, the KVM selftest framework
can populate the mmap()-ed guest_memfd memory just like any standard
memory provider.
For CoCo VMs, pages that need to be private are explicitly set to
private before executing the VM.
Signed-off-by: Lisa Wang <wyihan@google.com>
Link: https://patch.msgid.link/20261001-tdx-selftests-v15-13-7c62a5d8a992@google.com
[sean: anchor comment to its relevant place, drop unnecessary code changes]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
