[PATCH 0/6 v3] New APIs to get/set node memory tunables

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

 



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.

v2 - v3:
  * Add prefix "shm_" to the shared memory parameter field.
  * Change REMOTE_NODE_MEMORY_PARAMETERS_MAX from 16 to 64.
  * Helper fucntions for internal APIs (node{Get,Set}MemoryParameters)
  * Add "shm" prefix for the virsh options.

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 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                  |  249 +++++++++++++++++++++++++++++++++++++++
 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, 889 insertions(+), 1 deletions(-)

-- 
1.7.7.3

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