Re: PATCH: Compatability with Xen 3.2.0

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

 



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@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]