Re: [PATCH 08/31] nVMX: Fix local_vcpus_link handling

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

 



On Tue, May 17, 2011, Avi Kivity wrote about "Re: [PATCH 08/31] nVMX: Fix local_vcpus_link handling":
> >VMCSs.  If we had only a list of VMCSs, how can we mark the vcpus as being 
> >not
> >currently loaded (cpu=-1)?
> >
> 
> ->launched and ->cpu simply move into struct vmcs.

As I explained in the sister thread (this discussion is becoming a tree ;-))
this is what I planned to do, until it dawned on me that I can't, because "cpu"
isn't part of vmx (where the vmcs and launched sit in the standard KVM), but
rather part of vcpu... When I gave up trying to "solve" these interdependencies
and avoiding modifying half of KVM, I came up with the current solution.

Maybe I'm missing something - I'd be happy if we do find a solution that
simplifies this code.


-- 
Nadav Har'El                        |      Tuesday, May 17 2011, 14 Iyyar 5771
nyh@xxxxxxxxxxxxxxxxxxx             |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |Why do we drive on a parkway and park on
http://nadav.harel.org.il           |a driveway?
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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