Re: [PATCH 1/2] sev: add sev-inject-launch-secret

2020-05-29 Thread tobin
On 2020-05-28 17:00, James Bottomley wrote: On Thu, 2020-05-28 at 16:51 -0400, Tobin Feldman-Fitzthum wrote: --- a/qapi/misc-target.json +++ b/qapi/misc-target.json @@ -200,6 +200,26 @@ { 'command': 'query-sev-capabilities', 'returns': 'SevCapability', 'if': 'defined(TARGET_I386)' } +## +#

Re: [PATCH 1/2] sev: add sev-inject-launch-secret

2020-05-29 Thread tobin
On 2020-05-28 17:42, Eric Blake wrote: On 5/28/20 3:51 PM, Tobin Feldman-Fitzthum wrote: From: Tobin Feldman-Fitzthum AMD SEV allows a guest owner to inject a secret blob into the memory of a virtual machine. The secret is encrypted with the SEV Transport Encryption Key and integrity is guaran

Re: [PATCH 1/2] sev: add sev-inject-launch-secret

2020-05-28 Thread Eric Blake
On 5/28/20 3:51 PM, Tobin Feldman-Fitzthum wrote: From: Tobin Feldman-Fitzthum AMD SEV allows a guest owner to inject a secret blob into the memory of a virtual machine. The secret is encrypted with the SEV Transport Encryption Key and integrity is guaranteed with the Transport Integrity Key. A

Re: [PATCH 1/2] sev: add sev-inject-launch-secret

2020-05-28 Thread James Bottomley
On Thu, 2020-05-28 at 16:51 -0400, Tobin Feldman-Fitzthum wrote: > --- a/qapi/misc-target.json > +++ b/qapi/misc-target.json > @@ -200,6 +200,26 @@ > { 'command': 'query-sev-capabilities', 'returns': 'SevCapability', >'if': 'defined(TARGET_I386)' } > > +## > +# @sev-inject-launch-secret: > +

[PATCH 1/2] sev: add sev-inject-launch-secret

2020-05-28 Thread Tobin Feldman-Fitzthum
From: Tobin Feldman-Fitzthum AMD SEV allows a guest owner to inject a secret blob into the memory of a virtual machine. The secret is encrypted with the SEV Transport Encryption Key and integrity is guaranteed with the Transport Integrity Key. Although QEMU faciliates the injection of the launch