Re: [PATCH] KVM: selftests: Add SEV-ES shutdown test

2024-08-30 Thread Sean Christopherson
On Tue, 09 Jul 2024 11:29:36 -0700, Peter Gonda wrote: > Regression test for ae20eef5 ("KVM: SVM: Update SEV-ES shutdown intercepts > with more metadata"). Test confirms userspace is correctly indicated of > a guest shutdown not previous behavior of an EINVAL from KVM_RUN. Applied to kvm-x86 selft

Re: [PATCH] KVM: selftests: Add SEV-ES shutdown test

2024-08-29 Thread Sean Christopherson
On Tue, Jul 09, 2024, Peter Gonda wrote: > Regression test for ae20eef5 ("KVM: SVM: Update SEV-ES shutdown intercepts > with more metadata"). Test confirms userspace is correctly indicated of > a guest shutdown not previous behavior of an EINVAL from KVM_RUN. > > Cc: Paolo Bonzini > Cc: Sean Chri

Re: [PATCH] KVM: selftests: Add SEV-ES shutdown test

2024-07-11 Thread Peter Gonda
> > I guess this case also applies to SNP. So maybe once this patch is > queued up I could spin another patch in my SNP kselftest patch series > that parameterizes this function to test SNP as well. > Thanks! That sounds great. I plan on sending a few tests for the sev-es termination codes. I can

Re: [PATCH] KVM: selftests: Add SEV-ES shutdown test

2024-07-11 Thread Sampat, Pratik Rajesh
Hi Peter, On 7/9/2024 1:29 PM, Peter Gonda wrote: > Regression test for ae20eef5 ("KVM: SVM: Update SEV-ES shutdown intercepts > with more metadata"). Test confirms userspace is correctly indicated of > a guest shutdown not previous behavior of an EINVAL from KVM_RUN. > > Cc: Paolo Bonzini > Cc:

[PATCH] KVM: selftests: Add SEV-ES shutdown test

2024-07-09 Thread Peter Gonda
Regression test for ae20eef5 ("KVM: SVM: Update SEV-ES shutdown intercepts with more metadata"). Test confirms userspace is correctly indicated of a guest shutdown not previous behavior of an EINVAL from KVM_RUN. Cc: Paolo Bonzini Cc: Sean Christopherson Cc: Alper Gun Cc: Tom Lendacky Cc: Mich