[libvirt] [PATCH 0/7] New APIs to get/set node shared memory parameters
Osier Yang
jyang at redhat.com
Thu Sep 13 15:03:25 UTC 2012
Ping.
On 2012年09月10日 20:08, Osier Yang wrote:
> As a result of RFC:
> https://www.redhat.com/archives/libvir-list/2012-August/msg01998.html,
> this adds two new APIs (virNode{Get,Set}SharedMemoryParameters) to get
> and set the host shared memory tunables (ksm under linux).
>
> Osier Yang (7):
> Improve virTypedParameterValidateSet
> shared_memory: Define the APIs to get/set shared memory parameters
> shared_memory: Wire up the RPC protocol
> shared_memory: Implement the internal APIs
> shared_memory: Support get/set shared memory parameters for drivers
> shared_memory: Expose the APIs to virsh
> shared_memory: Expose the APIs to Python bindings
>
> daemon/remote.c | 61 +++++++
> 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 | 141 +++++++++++++++-
> src/libvirt_private.syms | 2 +
> src/libvirt_public.syms | 2 +
> src/lxc/lxc_driver.c | 2 +
> src/nodeinfo.c | 344 +++++++++++++++++++++++++++++++++++++++
> 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 | 110 +++++++++++++
> tools/virsh.pod | 8 +
> 21 files changed, 990 insertions(+), 11 deletions(-)
>
More information about the libvir-list
mailing list