This patch series introduce new cputune event to inform
management applications about every change of cputune values
for running domains.
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 v2:
- removed virSnprintf helper
- fix typo and PM -> PowerManagement in the first patch
- fixed memory leak
- updated virConnectDomainEventCputuneCallback docs
- virConnectDomainEventCputuneCallback now consumes params
- updated call sequence in virConnectDomainEventCputuneCallback
Pavel Hrdina (4):
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 | 22 +++++++++
src/conf/domain_conf.h | 98 ++++++++++++++++++++++---------------
src/conf/domain_event.c | 93 +++++++++++++++++++++++++++++++++++
src/conf/domain_event.h | 9 ++++
src/libvirt_private.syms | 2 +
src/qemu/qemu_cgroup.c | 18 ++++++-
src/qemu/qemu_driver.c | 74 ++++++++++++++++++++++++++++
src/remote/remote_driver.c | 42 ++++++++++++++++
src/remote/remote_protocol.x | 14 +++++-
src/remote_protocol-structs | 9 ++++
tools/virsh-domain.c | 33 +++++++++++++
13 files changed, 469 insertions(+), 42 deletions(-)
--
1.8.5.5