From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Dan Carpenter <dan.carpenter@linaro.org>
Subject: Re: [PATCH] KVM: SVM: Propagate error from snp_guest_req_init() to userspace
Date: Wed, 6 Nov 2024 08:02:42 -0800 [thread overview]
Message-ID: <173078661182.2102830.10430525599582052471.b4-ty@google.com> (raw)
In-Reply-To: <20241031203214.1585751-1-seanjc@google.com>
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
prev parent reply other threads:[~2024-11-06 16:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-31 20:32 Sean Christopherson
2024-11-06 16:02 ` Sean Christopherson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=173078661182.2102830.10430525599582052471.b4-ty@google.com \
--to=seanjc@google.com \
--cc=dan.carpenter@linaro.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®