[libvirt] [PATCH 0/2] Add total number of physical cores to the capabilities output

Peter Krempa pkrempa at redhat.com
Tue Jan 15 14:45:22 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=888503

The values added by this patch help avoid management applications the dodgy
approach of multiplying values in the nodeinfo structure to gather data needed
for their management decisions.

Peter Krempa (2):
  nodeinfo: Gather total number of physical cores and fix tests
  capabilities: Add total number of cores and threads to the XML

 docs/formatcaps.html.in                     |  2 +-
 docs/schemas/capability.rng                 |  8 +++++++
 src/conf/cpu_conf.c                         |  4 ++++
 src/conf/cpu_conf.h                         |  2 ++
 src/libvirt_private.syms                    |  1 +
 src/nodeinfo.c                              | 37 ++++++++++++++++++++++-------
 src/nodeinfo.h                              |  2 ++
 src/qemu/qemu_capabilities.c                |  3 ++-
 tests/nodeinfodata/linux-x86-test1.expected |  2 +-
 tests/nodeinfodata/linux-x86-test2.expected |  2 +-
 tests/nodeinfodata/linux-x86-test3.expected |  2 +-
 tests/nodeinfodata/linux-x86-test4.expected |  2 +-
 tests/nodeinfodata/linux-x86-test5.expected |  2 +-
 tests/nodeinfodata/linux-x86-test6.expected |  2 +-
 tests/nodeinfodata/linux-x86-test7.expected |  2 +-
 tests/nodeinfodata/linux-x86-test8.expected |  2 +-
 tests/nodeinfotest.c                        | 11 +++++----
 tests/testutilsqemu.c                       |  2 ++
 18 files changed, 66 insertions(+), 22 deletions(-)

-- 
1.8.1




More information about the libvir-list mailing list