qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Tobin Feldman-Fitzthum <tobin@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: thomas.lendacky@amd.com, jejb@linux.ibm.com, tobin@ibm.com,
	dgilbert@redhat.com,
	Tobin Feldman-Fitzthum <tobin@linux.vnet.ibm.com>,
	pbonzini@redhat.com, brijesh.singh@redhat.com
Subject: SEV: QMP support for Inject-Launch-Secret
Date: Tue, 30 Jun 2020 09:41:01 -0400	[thread overview]
Message-ID: <20200630134102.46777-1-tobin@linux.vnet.ibm.com> (raw)

This is an update to part of a patch submitted previously to
provide support for injecting a secret blob into guest memory
using AMD SEV.

The user provides a header and a wrapped secret blob via QMP,
which are provided to the AMD Secure Processor and injected
into the guest.

Note that this patch requires the user to provide the guest
physical address where the secret will be injected via QMP.

Tobin Feldman-Fitzthum (1):
  sev: add sev-inject-launch-secret

 include/monitor/monitor.h |  3 ++
 include/sysemu/sev.h      |  2 ++
 monitor/misc.c            |  8 ++---
 qapi/misc-target.json     | 18 +++++++++++
 target/i386/monitor.c     |  9 ++++++
 target/i386/sev-stub.c    |  5 +++
 target/i386/sev.c         | 66 +++++++++++++++++++++++++++++++++++++++
 target/i386/trace-events  |  1 +
 8 files changed, 108 insertions(+), 4 deletions(-)

-- 
2.20.1 (Apple Git-117)



             reply	other threads:[~2020-06-30 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30 13:41 Tobin Feldman-Fitzthum [this message]
2020-06-30 13:41 ` [PATCH 1/1] SEV: QMP support for Inject-Launch-Secret Tobin Feldman-Fitzthum
2020-07-02 15:53   ` Dr. David Alan Gilbert
2020-07-02 16:56     ` tobin

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=20200630134102.46777-1-tobin@linux.vnet.ibm.com \
    --to=tobin@linux.vnet.ibm.com \
    --cc=brijesh.singh@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=jejb@linux.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thomas.lendacky@amd.com \
    --cc=tobin@ibm.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;
as well as URLs for NNTP newsgroup(s).