Re: [PATCH] KVM: nVMX: Eliminate vmcs02 pool

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

 



On 11/23/2017 5:46 PM, Paolo Bonzini wrote:
On 21/11/2017 18:22, Mark Kanda wrote:
-	nested_free_all_saved_vmcss(vmx);
+	free_loaded_vmcs(&vmx->nested.vmcs02);

Please add to free_loaded_vmcs a WARN that the passed vmcs is not
vmx->loaded_vmcs.


Sure.

However, I don't see a way to access vmx from the passed in vmcs, which would necessitate passing in vmx for the WARN (multiple callers) - I may be missing something..

I'm happy to do this, but it seems possibly excessive for the sole purpose of adding the WARN. Thoughts?

Thanks,

-Mark



[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