selftest: KVM: Add intra host migration tests
authorPeter Gonda <pgonda@google.com>
Thu, 21 Oct 2021 17:43:03 +0000 (10:43 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Nov 2021 15:36:17 +0000 (10:36 -0500)
commit6a58150859fdec7639564c8bae4406d4c66bf017
tree200f2037919daa6c1381ae54f9c4d8b19c45e35a
parent7a6ab3cf398a11233845ed248aea7141dc9d510d
selftest: KVM: Add intra host migration tests

Adds testcases for intra host migration for SEV and SEV-ES. Also adds
locking test to confirm no deadlock exists.

Signed-off-by: Peter Gonda <pgonda@google.com>
Suggested-by: Sean Christopherson <seanjc@google.com>
Cc: Marc Orr <marcorr@google.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Message-Id: <20211021174303.385706-6-pgonda@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/x86_64/sev_migrate_tests.c [new file with mode: 0644]