On 6/20/19 1:03 PM, Singh, Brijesh wrote: > The command can be used by the hypervisor to specify the target Platform > Diffie-Hellman key (PDH) and certificate chain before starting the SEV > guest migration. The values passed through the command will be used while > creating the outgoing encryption context. > > Signed-off-by: Brijesh Singh <brijesh.si...@amd.com> > --- > qapi/target.json | 18 ++++++++++++++++++ > target/i386/monitor.c | 10 ++++++++++ > target/i386/sev-stub.c | 5 +++++ > target/i386/sev.c | 11 +++++++++++ > target/i386/sev_i386.h | 9 ++++++++- > 5 files changed, 52 insertions(+), 1 deletion(-) >
> +++ b/qapi/target.json > @@ -512,3 +512,21 @@ > ## > { 'command': 'query-cpu-definitions', 'returns': ['CpuDefinitionInfo'], > 'if': 'defined(TARGET_PPC) || defined(TARGET_ARM) || defined(TARGET_I386) > || defined(TARGET_S390X) || defined(TARGET_MIPS)' } > + > +## > +# @migrate-set-sev-info: > +# > +# The command is used to provide the target host information used during the > +# SEV guest. > +# > +# @pdh the target host platform diffie-hellman key encoded in base64 > +# > +# @plat-cert the target host platform certificate chain encoded in base64 > +# > +# @amd-cert AMD certificate chain which include ASK and OCA encoded in base64 > +# > +# Since 4.3 The next release is 4.1, then likely 4.2 near the end of the calendar year, then 5.0 in 2020. There is no planned 4.3 release. Are you trying to get this in 4.1? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature