Re: [PATCH v2 2/4] nSVM: introduce smv->nested.save to cache save area fields

From: Paolo Bonzini
Date: Tue Sep 28 2021 - 12:51:51 EST


On 17/09/21 14:03, Emanuele Giuseppe Esposito wrote:
+static void copy_vmcb_save_area(struct vmcb_save_area_cached *dst,
+ struct vmcb_save_area *from)
+{
+ /*
+ * Copy only necessary fields, as we need them

"Copy only fields that are validated" etc.

Paolo

+ * to avoid TOC/TOU races.
+ */