Re: [PATCH v3 4/8] nSVM: use vmcb_save_area_cached in nested_vmcb_valid_sregs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 22/10/2021 09:14, Paolo Bonzini wrote:
On 11/10/21 16:36, Emanuele Giuseppe Esposito wrote:
+
+out_free_save:
+    memset(&svm->nested.save, 0, sizeof(struct vmcb_save_area_cached));
+

This memset is not strictly necessary, is it?  (Same for out_free_ctl later on).


It was just to keep the struct clean in case of error, but
you are right, it can be removed.

Thank you,
Emanuele




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux