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

[libvirt] [PATCH 0/6 v2] New APIs to get/set node memory parameters



v1:

https://www.redhat.com/archives/libvir-list/2012-September/msg00517.html

v1 - v2:
  * Rename virNode{Get,Set}SharedMemoryParameters to
    virNode{Get,Set}MemoryParameters, in case of we could add more
    node memory tunables in future.

As a result of RFC:
https://www.redhat.com/archives/libvir-list/2012-August/msg01998.html,
this adds two new APIs (virNode{Get,Set}MemoryParameters) to get
and set the host shared memory tunables (ksm under linux).

Osier Yang (6):
  node_memory: Define the APIs to get/set shared memory parameters
  node_memory: Wire up the RPC protocol
  node_memory: Implement the internal APIs
  node_memory: Support get/set memory parameters for drivers
  node_memory: Expose the APIs to virsh
  node_memory: Expose the APIs to Python bindings

 daemon/remote.c                 |   59 +++++++
 include/libvirt/libvirt.h.in    |   63 ++++++++
 python/generator.py             |    2 +
 python/libvirt-override-api.xml |   13 ++
 python/libvirt-override.c       |  125 +++++++++++++++
 src/driver.h                    |   14 ++
 src/libvirt.c                   |  121 ++++++++++++++
 src/libvirt_private.syms        |    2 +
 src/libvirt_public.syms         |    2 +
 src/lxc/lxc_driver.c            |    2 +
 src/nodeinfo.c                  |  332 +++++++++++++++++++++++++++++++++++++++
 src/nodeinfo.h                  |   10 ++
 src/qemu/qemu_driver.c          |    2 +
 src/remote/remote_driver.c      |   50 ++++++
 src/remote/remote_protocol.x    |   24 +++-
 src/remote_protocol-structs     |   20 +++
 src/rpc/gendispatch.pl          |    3 +
 src/uml/uml_driver.c            |    2 +
 src/xen/xen_driver.c            |    3 +
 tools/virsh-host.c              |  116 ++++++++++++++
 tools/virsh.pod                 |    8 +
 21 files changed, 972 insertions(+), 1 deletions(-)

-- 
1.7.7.3


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