From: Brijesh Singh <brijesh.singh@amd.com>
To: Paolo Bonzini <pbonzini@redhat.com>,
linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: brijesh.singh@amd.com
Subject: Re: [PATCH] KVM: SVM: document KVM_MEM_ENCRYPT_OP, let userspace detect if SEV is available
Date: Fri, 20 Mar 2020 14:14:19 -0500 [thread overview]
Message-ID: <e7a293bf-acbf-b69a-a082-4a2cce9701b0@amd.com> (raw)
In-Reply-To: <20200320174245.5220-1-pbonzini@redhat.com>
On 3/20/20 12:42 PM, Paolo Bonzini wrote:
> Userspace has no way to query if SEV has been disabled with the
> sev module parameter of kvm-amd.ko. Actually it has one, but it
> is a hack: do ioctl(KVM_MEM_ENCRYPT_OP, NULL) and check if it
> returns EFAULT. Make it a little nicer by returning zero for
> SEV enabled and NULL argument, and while at it document the
> ioctl arguments.
>
> Cc: Brijesh Singh <brijesh.singh@amd.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
thanks
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
prev parent reply other threads:[~2020-03-20 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-20 17:42 Paolo Bonzini
2020-03-20 19:14 ` Brijesh Singh [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=e7a293bf-acbf-b69a-a082-4a2cce9701b0@amd.com \
--to=brijesh.singh@amd.com \
--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
Powered by JetHome