[PATCH] Add cpu thread siblings information to virsh capabilities.

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

 



This patch is an attempt to add cpu hyperthreaded siblings information
to the output from virsh capabilities output. The information will
directly mirror the contents of the
/sys/devices/system/cpu/cpuN/topology/thread_siblings_list
files. The new output of virsh capabilities will look like:

    <topology>
      <cells num='2'>
        <cell id='0'>
          <cpus num='12'>
            <cpu id='0' thread_siblings='0,12'/>
            .
            .
         </cpus>
        </cell>
      </cells>
    </topology>


This patch is my first attempt at patching libvirt so forgive me if I
make some novice mistakes.

Dusty

Dusty Mabe (1):
  Add cpu thread siblings information to virsh capabilities.

 docs/schemas/capability.rng               |  5 ++
 src/conf/capabilities.c                   | 38 +++++++++++--
 src/conf/capabilities.h                   |  5 +-
 src/nodeinfo.c                            | 84 +++++++++++++++++++++++++++--
 src/test/test_driver.c                    |  2 +-
 src/xen/xend_internal.c                   |  3 +-
 tests/capabilityschemadata/caps-test3.xml | 88 +++++++++++++++++++++++++++++++
 7 files changed, 216 insertions(+), 9 deletions(-)
 create mode 100644 tests/capabilityschemadata/caps-test3.xml

-- 
1.7.11.7

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