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

[libvirt] [PATCHv2 0/5] Bulk domain stats query API



This version adds implementation in the qemu driver and virsh and fixes the following bugs from v1:

*bad type of typed param count
*off-by-one when counting and verifying domain objects in libvirt.c
*off-by-one when allocating returned array in remote driver
*the all domain stats func not working as the return value wasn't handled properly


Peter Krempa (5):
  lib: Introduce API for retrieving bulk domain stats
  remote: Implement bulk domain stats APIs in the remote driver
  qemu: Implement bulk stats API and one of the stats groups to return
  virsh: domain: Split out code to lookup domain from string
  virsh: Implement command to excercise the bulk stats APIs

 daemon/remote.c              |  91 ++++++++++++++++++++++
 include/libvirt/libvirt.h.in |  26 +++++++
 src/driver.h                 |   9 +++
 src/libvirt.c                | 180 +++++++++++++++++++++++++++++++++++++++++++
 src/libvirt_public.syms      |   7 ++
 src/qemu/qemu_driver.c       | 175 +++++++++++++++++++++++++++++++++++++++++
 src/remote/remote_driver.c   |  88 +++++++++++++++++++++
 src/remote/remote_protocol.x |  26 ++++++-
 src/remote_protocol-structs  |  23 ++++++
 tools/virsh-domain-monitor.c | 140 +++++++++++++++++++++++++++++++++
 tools/virsh-domain.c         |  80 ++++++++++++-------
 tools/virsh-domain.h         |   4 +
 12 files changed, 819 insertions(+), 30 deletions(-)

-- 
2.0.2


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