[Libvir] PATCH: Compatability with Xen 3.2.0
Daniel Veillard
veillard at redhat.com
Mon Dec 17 21:49:06 UTC 2007
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 at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list