diff options
author | Sean Christopherson <[email protected]> | 2024-02-22 16:42:58 -0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-02-28 16:39:55 -0800 |
commit | 40e09b3ccfacc640d58e1e3d6b8f29b2db0a9848 (patch) | |
tree | 291aa24964376b96138284b9497cb9d69f80fbdf /scripts/gdb/linux/utils.py | |
parent | be250ff437fa260550113a361ff0b31ccd34e9e5 (diff) |
KVM: selftests: Add a basic SEV-ES smoke test
Extend sev_smoke_test to also run a minimal SEV-ES smoke test so that it's
possible to test KVM's unique VMRUN=>#VMEXIT path for SEV-ES guests
without needing a full blown SEV-ES capable VM, which requires a rather
absurd amount of properly configured collateral.
Punt on proper GHCB and ucall support, and instead use the GHCB MSR
protocol to signal test completion. The most important thing at this
point is to have _any_ kind of testing of KVM's __svm_sev_es_vcpu_run().
Cc: Tom Lendacky <[email protected]>
Cc: Michael Roth <[email protected]>
Cc: Peter Gonda <[email protected]>
Cc: Carlos Bilbao <[email protected]>
Tested-by: Carlos Bilbao <[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