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

Re: [Libvir] PATCH: Compatability with Xen 3.2.0



On Mon, Dec 17, 2007 at 07:19:04PM +0000, Daniel P. Berrange wrote:
> In Xen 3.2.0 the  physinfo hypercall was changed to remove the field
> 'sockets_per_node' and add in 'nr_cpus'. We use the sockets_per_node field
> in livirt for the  virNodeInfo struct :-(  This patch re-calculates its
> value in terms of 'nr_cpus / (nodes*cores*threads)' which is how older
> Xen used to figure it out.

  Looks fine to me, thanks !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


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