]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Add vmgexit helper
authorPratik R. Sampat <prsampat@amd.com>
Wed, 5 Mar 2025 22:59:53 +0000 (16:59 -0600)
committerSean Christopherson <seanjc@google.com>
Fri, 2 May 2025 19:32:32 +0000 (12:32 -0700)
commitc4e1a848d72179136f6ea9626933cb26c9d35eb5
treeb1f58ed329458b3b78afa87f8c7ce8be37f72b0a
parent68ed692e395470a178bfdb6d417c43ebd12861b6
KVM: selftests: Add vmgexit helper

Abstract rep vmmcall coded into the vmgexit helper for the sev
library.

No functional change intended.

Signed-off-by: Pratik R. Sampat <prsampat@amd.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Link: https://lore.kernel.org/r/20250305230000.231025-4-prsampat@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/x86/sev.h
tools/testing/selftests/kvm/x86/sev_smoke_test.c