KVM: selftests: Use the SEV library APIs in the intra-host migration test
authorSean Christopherson <seanjc@google.com>
Fri, 23 Feb 2024 00:42:56 +0000 (16:42 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 29 Feb 2024 00:39:53 +0000 (16:39 -0800)
commit69f8e15ab61f2f011612dad5f0522ea4d56971d9
tree51790f27fc80d6e5269b99f456f46a887d35160d
parentae20eef5323cce441e8d6c64c8d10493bf3ee232
KVM: selftests: Use the SEV library APIs in the intra-host migration test

Port the existing intra-host SEV(-ES) migration test to the recently added
SEV library, which handles much of the boilerplate needed to create and
configure SEV guests.

Tested-by: Carlos Bilbao <carlos.bilbao@amd.com>
Link: https://lore.kernel.org/r/20240223004258.3104051-10-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86_64/sev_migrate_tests.c