[PATCH 0/6] Add virNodeGetMemoryStats() API

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

 



Hi, everyone.

I wrote new API called virNodeGetMemoryStats().
It returns total/free/buffer/cached memory of the node from /proc/meminfo.
The user I/F is like virNodeGetCPUStats().

Previous discussion is here.
(See about virNodeGetFreeMemory() part.)

  http://www.mail-archive.com/libvir-list@xxxxxxxxxx/msg32553.html

This patch series based on latest git tree.
If my virNodeGetCPUStats() patch series applied, I'll rebase on it.

Minoru Usui (6):
  virNodeGetMemoryStats: Expose new API
  virNodeGetMemoryStats: Define internal driver API
  virNodeGetMemoryStats: Implement public API
  virNodeGetMemoryStats: Implement remote protocol
  virNodeGetMemoryStats: Implement virsh support
  virNodeGetMemoryStats: Implement linux support

 daemon/remote.c              |   76 +++++++++++++++++++++++++++++++++
 include/libvirt/libvirt.h.in |   65 +++++++++++++++++++++++++++-
 src/driver.h                 |    8 +++
 src/libvirt.c                |   81 +++++++++++++++++++++++++++++++++++
 src/libvirt_private.syms     |    1 +
 src/libvirt_public.syms      |    1 +
 src/lxc/lxc_driver.c         |    1 +
 src/nodeinfo.c               |   97 ++++++++++++++++++++++++++++++++++++++++++
 src/nodeinfo.h               |    4 ++
 src/qemu/qemu_driver.c       |    1 +
 src/remote/remote_driver.c   |   63 +++++++++++++++++++++++++++
 src/remote/remote_protocol.x |   21 +++++++++-
 src/uml/uml_driver.c         |    1 +
 tools/virsh.c                |   51 ++++++++++++++++++++++
 tools/virsh.pod              |    4 ++
 15 files changed, 473 insertions(+), 2 deletions(-)
-- 
Minoru Usui <usui@xxxxxxxxxxxxxxxxx>

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