summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-05-01 13:35:33 -0700
committerSean Christopherson <seanjc@google.com>2026-05-13 15:03:16 -0700
commit6edd35e77a42ee3e72405619049a45bf368f9ab2 (patch)
tree62bc8155b5103ab3c6d4bad4fe0d857322137c0d /tools/lib/python
parent78ee2d50185a037b3d2452a97f3dad69c3f7f389 (diff)
KVM: selftests: Add a test to verify SEV {en,de}crypt debug ioctls
Add a selftest to verify KVM's handling of {de,en}crypt debug ioctls, specifically focusing on edge cases around the chunk (16 bytes) and page (4096) sizes, where KVM had multiple bugs. E.g. KVM would fail to handle small sizes that aren't naturally aligned and sized, would buffer overflow if the destination was unaligned but the source was not, etc. Attempt to strike a balance between an exhaustive test and a reasonable runtime. On a system with both SEV and SEV-ES support, the current runtime is under 45 seconds. Which isn't great, but it's tolerable, and it's not obvious which of the combinations are "better" than the others. Link: https://patch.msgid.link/20260501203537.2120074-3-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions