]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Decouple SEV policy from VM type
authorPratik R. Sampat <prsampat@amd.com>
Wed, 5 Mar 2025 22:59:59 +0000 (16:59 -0600)
committerSean Christopherson <seanjc@google.com>
Fri, 2 May 2025 20:05:32 +0000 (13:05 -0700)
commita5d55f783fb73ad06d2e4358b24d6c2a75991350
treecca04f01008f343e9ea348508233e4f6fd2f273c
parentb73a30cd9caa196459ef66099662b3e5feb8571f
KVM: selftests: Decouple SEV policy from VM type

In preparation for SNP, cleanup the smoke test to decouple deriving type
from policy.  This will allow reusing the existing interfaces for SNP.

No functional change intended.

Signed-off-by: Pratik R. Sampat <prsampat@amd.com>
Link: https://lore.kernel.org/r/20250305230000.231025-10-prsampat@amd.com
[sean: massage shortlog+changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86/sev_smoke_test.c