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

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

 



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

--
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]