Re: [PATCH v13 04/12] KVM: SVM: Add support for KVM_SEV_RECEIVE_START command

2021-04-20 Thread Paolo Bonzini
On 20/04/21 10:38, Paolo Bonzini wrote: On 15/04/21 17:54, Ashish Kalra wrote: +    } + +    sev->handle = start->handle; +    sev->fd = argp->sev_fd; These two lines are spurious, I'll delete them. And this is wrong as well. My apologies. Paolo

Re: [PATCH v13 04/12] KVM: SVM: Add support for KVM_SEV_RECEIVE_START command

2021-04-20 Thread Paolo Bonzini
On 15/04/21 17:54, Ashish Kalra wrote: + } + + sev->handle = start->handle; + sev->fd = argp->sev_fd; These two lines are spurious, I'll delete them. Paolo

[PATCH v13 04/12] KVM: SVM: Add support for KVM_SEV_RECEIVE_START command

2021-04-15 Thread Ashish Kalra
From: Brijesh Singh The command is used to create the encryption context for an incoming SEV guest. The encryption context can be later used by the hypervisor to import the incoming data into the SEV guest memory space. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo