[PATCH] Add NUMA memory information to virsh capabilities output.

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

 



Hi,

This is a follow up to a previous proposed patch that added NUMA memory and CPU thread siblings information to virsh capabilities outout (https://www.redhat.com/archives/libvir-list/2012-November/msg00449.html)

Since in a recent commit the thread siblings information was added (http://libvirt.org/git/?p=libvirt.git;a=commit;h=828820e2d). I have modified my patch to just add the NUMA memory information. An example of the output from virsh capabilities looks like
the following text:


    <topology>
      <cells num='2'>
        <cell id='0'>
          <memory unit='KiB'>67073420</memory>
          <cpus num='16'>
            <cpu id='0' socket_id='0' core_id='0' siblings='0,16'/>
            <cpu id='1' socket_id='0' core_id='1' siblings='1,17'/>
            ...
            ...
          </cpus>
        </cell>


Dusty Mabe

Dusty Mabe (1):
  Add NUMA memory information to virsh capabilities output.

 docs/schemas/capability.rng               | 10 ++++
 src/conf/capabilities.c                   |  8 +++
 src/conf/capabilities.h                   |  2 +
 src/nodeinfo.c                            | 64 +++++++++++++++++++++-
 src/test/test_driver.c                    |  2 +-
 src/xen/xend_internal.c                   |  2 +-
 tests/capabilityschemadata/caps-test3.xml | 88 +++++++++++++++++++++++++++++++
 7 files changed, 173 insertions(+), 3 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]