guest_memfd in-place conversion selftests for SNP
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | KVM: selftests: Initialize guest_memfd with INIT_SHAREDtools/ | +11 | 0 replies | |
| 2/6 | KVM: selftests: Use guest_memfd memory contents in-place for SNP launch updatetools/ | +5 | 0 replies | |
| 3/6 | KVM: selftests: Make guest_code_xsave more friendlytools/ | +17 | 0 replies | |
| 4/6 | KVM: selftests: Allow specifying CoCo-privateness while mapping a pagetools/ tools/ | +12 | 0 replies | |
| 5/6 | KVM: selftests: Test conversions for SNPtools/ | +185 | 0 replies | |
| 6/6 | KVM: selftests: Test content modes ZERO and PRESERVE for SNPtools/ | +44 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [POC PATCH 0/6] guest_memfd in-place conversion selftests for SNP
With these POC patches, I was able to test the set memory attributes/conversion ioctls with SNP.
The content policies work, and PRESERVE can be used before the SNP VM is finalized. SNP_LAUNCH_UPDATE can accept 0 for source address and the SNP VM runs fine. :)
Ackerley Tng (6):
KVM: selftests: Initialize guest_memfd with INIT_SHARED
KVM: selftests: Use guest_memfd memory contents in-place for SNP
launch update
KVM: selftests: Make guest_code_xsave more friendly
KVM: selftests: Allow specifying CoCo-privateness while mapping a page
KVM: selftests: Test conversions for SNP
KVM: selftests: Test content modes ZERO and PRESERVE for SNP
.../selftests/kvm/include/x86/processor.h | 2 + tools/testing/selftests/kvm/lib/kvm_util.c | 12 +- .../testing/selftests/kvm/lib/x86/processor.c | 13 +- tools/testing/selftests/kvm/lib/x86/sev.c | 9 +- .../selftests/kvm/x86/sev_smoke_test.c | 255 +++++++++++++++++- 5 files changed, 271 insertions(+), 20 deletions(-)
--
2.54.0.545.g6539524ca2-goog