[libvirt] [PATCH v4 0/4] Introduce new universal tunable event

Pavel Hrdina phrdina at redhat.com
Mon Sep 22 13:09:57 UTC 2014


On 09/18/2014 10:39 AM, Pavel Hrdina wrote:
> This patch series introduce new tunable event to inform management
> applications about changes of tunable values. With this universal
> event we will be able to report updates for all different tunable
> values like cpu tuning, block tinning, memory tinning, etc...
>
> There is missing documentation for all events so the documentation
> for this event will be part of the patches to document all events.
>
> The format of returned typedParams will contain params with name
> composed from prefix and the exact value. For example for cputune
> the typedParam's field would be "cputune.shares". List of actually
> returned values will be part of the documentation for the events.
>
> Changes from v3:
>      - the cputune event is gone, now we will have one universal event
>        for all tunable values
>
> Pavel Hrdina (4):
>    domain_conf: separate structures from virDomainDef
>    event: introduce new event for tunable values
>    add an example how to use tunable 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              | 102 +++++++++++++++++++++---------------
>   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              |  76 +++++++++++++++++++++++++++
>   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, 473 insertions(+), 44 deletions(-)
>

Ping?




More information about the libvir-list mailing list