On 6/20/19 2:13 PM, Eric Blake wrote: > 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.singh@xxxxxxx> >> --- >> 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? Ah, I was meaning to type 4.2 and not 4.3. The series has dependency on kernel patches, my best effort it to get it ready for 4.2 merge window.