Re: [PATCH v13 05/12] KVM: SVM: Add KVM_SEV_RECEIVE_UPDATE_DATA command

Paolo Bonzini
2021-04-20T08:43:11Z

On 20/04/21 10:40, Paolo Bonzini wrote:
> On 15/04/21 17:55, Ashish Kalra wrote:
>> +    if (!guest_page)
>> +        goto e_free;
>> +
>
> Missing unpin on error (but it won't be needed with Sean's patches that
> move the data block to the stack, so I can fix this too).

No, sorry---the initialization order is different between
send_update_data and receive_update_data, so it's okay.

Paolo