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

From: Paolo Bonzini
Date: Tue Apr 20 2021 - 04:43:12 EST


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