[libvirt] [PATCH v2 0/5] Introduce new cputune event

Pavel Hrdina phrdina at redhat.com
Wed Sep 10 12:08:19 UTC 2014


This patch series introduce new cputune event to inform
management applications about every change of cputune values
for running domains.

The first patch introduces a new string helper virSnprintf
and the second patch cleans up the virDomanDef structure.

There is missing documentation for all events so the documentation
for this event will be part of the patches to document all events.

Changes from v1:
    - new virSnprintf helper
    - complete cleanup of virDomainDef structure
    - cputune event now uses virTypedParameter

Pavel Hrdina (5):
  introduce virSnprintf helper
  domain_conf: separate structures from virDomainDef
  event: introduce new event for cputune
  add an example how to use cputune event
  cputune_event: queue the event for cputune updates

 daemon/remote.c                     | 45 ++++++++++++++++++
 examples/object-events/event-test.c | 52 +++++++++++++++++++-
 include/libvirt/libvirt.h.in        | 19 ++++++++
 src/conf/domain_conf.h              | 94 ++++++++++++++++++++++---------------
 src/conf/domain_event.c             | 84 +++++++++++++++++++++++++++++++++
 src/conf/domain_event.h             |  9 ++++
 src/libvirt_private.syms            |  3 ++
 src/qemu/qemu_cgroup.c              | 18 ++++++-
 src/qemu/qemu_driver.c              | 73 ++++++++++++++++++++++++++++
 src/remote/remote_driver.c          | 41 ++++++++++++++++
 src/remote/remote_protocol.x        | 14 +++++-
 src/remote_protocol-structs         |  9 ++++
 src/util/virstring.c                | 25 ++++++++++
 src/util/virstring.h                | 20 ++++++++
 tools/virsh-domain.c                | 33 +++++++++++++
 15 files changed, 499 insertions(+), 40 deletions(-)

-- 
1.8.5.5




More information about the libvir-list mailing list