> > include/libvirt/libvirt.h.in | 9 ++++++---
> > src/nodeinfo.c | 10 ++++++++++
> > src/xen/xend_internal.c | 19 ++++++++++++++-----
> > 3 files changed, 30 insertions(+), 8 deletions(-)
>
> ACK
Thanks, pushed.
Hmm, apparently I didn't really push the patch :-/ So I squashed the following
trivial patch in it and pushed (this time for real).
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index 395a9f8..3c6a54a 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -222,7 +222,7 @@ struct _virNodeInfo {
unsigned int nodes; /* the number of NUMA cell, 1 for unusual NUMA
topologies or uniform memory access; check
capabilities XML for the actual NUMA topology */
- unsigned int sockets;/* number of CPU sockets per node if nodes == 1,
+ unsigned int sockets;/* number of CPU sockets per node if nodes > 1,
total number of CPU sockets otherwise */
unsigned int cores; /* number of cores per socket */
unsigned int threads;/* number of threads per core */
Jirka