[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173078661182.2102830.10430525599582052471.b4-ty@google.com>
Date: Wed, 6 Nov 2024 08:02:42 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Dan Carpenter <dan.carpenter@...aro.org>
Subject: Re: [PATCH] KVM: SVM: Propagate error from snp_guest_req_init() to userspace
On Thu, 31 Oct 2024 13:32:14 -0700, Sean Christopherson wrote:
> If snp_guest_req_init() fails, return the provided error code up the
> stack to userspace, e.g. so that userspace can log that KVM_SEV_INIT2
> failed, as opposed to some random operation later in VM setup failing
> because SNP wasn't actually enabled for the VM.
>
> Note, KVM itself doesn't consult the return value from __sev_guest_init(),
> i.e. the fallout is purely that userspace may be confused.
>
> [...]
Applied to kvm-x86 fixes (yesterday, I forgot to send the thank you mail).
[1/1] KVM: SVM: Propagate error from snp_guest_req_init() to userspace
https://github.com/kvm-x86/linux/commit/e5d253c60e96
--
https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists