This patch is a follow up to 
https://www.redhat.com/archives/libvir-list/2012-October/msg01382.html.
Since that one hasn't been reviewed yet I combined that work with new work to 
add memory
information to virsh capabilities output and am submitting them both in this 
patch.

With this virsh capabilities output will have the following form:

    <topology>
      <cells num='2'>
        <cell id='0'>
          <memory unit='KiB'>12572412</memory>
          <cpus num='12'>
            <cpu id='0' thread_siblings='0,12'/>
            .
            .
          </cpus>
        </cell>
      </cells>
    </topology>
    
Hope you guys can find this useful.

Dusty

Dusty Mabe (1):
  Add NUMA memory and CPU thread siblings to capabilities

 docs/schemas/capability.rng               |  15 +++
 src/conf/capabilities.c                   |  65 ++++++++++---
 src/conf/capabilities.h                   |   7 +-
 src/nodeinfo.c                            | 155 +++++++++++++++++++++++++++++-
 src/test/test_driver.c                    |   2 +-
 src/xen/xend_internal.c                   |   4 +-
 tests/capabilityschemadata/caps-test3.xml |  88 +++++++++++++++++
 7 files changed, 319 insertions(+), 17 deletions(-)
 create mode 100644 tests/capabilityschemadata/caps-test3.xml

-- 
1.7.11.7

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to