[libvirt] [PATCH 0/6] events: don't mandate a uuid

John Ferlan jferlan at redhat.com
Tue Jun 28 18:18:36 UTC 2016



On 06/23/2016 12:27 PM, Cole Robinson wrote:
> The generic event infrastructure has the notion of lookup-by-uuid
> baked into the API, but not all objects have a uuid (nodedev,
> interfaces).
> 
> This series enables callers to specify a string key for match
> purposes. Existing users of the binary uuid value now pass in a
> converted uuid string.
> 
> Cole Robinson (6):
>   events: Privatize virObjectEventCallback
>   events: Add virObjectEventCallbackFree
>   events: Cleanup callback variable name
>   events: Pass in UUID as a string
>   events: Add explicit lookup 'key' value
>   events: Rename argument uuid->key
> 
>  src/conf/domain_event.c         |  28 +++++--
>  src/conf/network_event.c        |  16 +++-
>  src/conf/object_event.c         | 170 +++++++++++++++++++++-------------------
>  src/conf/object_event.h         |   3 -
>  src/conf/object_event_private.h |   8 +-
>  src/conf/storage_event.c        |  16 +++-
>  6 files changed, 145 insertions(+), 96 deletions(-)
> 

Beyond the noted issue in patch 5 ...

ACK series,

John




More information about the libvir-list mailing list