[libvirt] [dbus PATCH 03/14] Register NodeDevice Lifecycle Events

Pavel Hrdina phrdina at redhat.com
Tue Jun 19 14:30:30 UTC 2018


On Fri, Jun 15, 2018 at 07:03:39PM +0200, Katerina Koukiou wrote:
> Signed-off-by: Katerina Koukiou <kkoukiou at redhat.com>
> ---
>  data/org.libvirt.Connect.xml |  7 +++++++
>  src/connect.c                | 13 +++++++++++++
>  src/connect.h                |  1 +
>  src/events.c                 | 42 ++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 63 insertions(+)

[...]

> diff --git a/src/connect.h b/src/connect.h
> index 3b62edd..a864041 100644
> --- a/src/connect.h
> +++ b/src/connect.h
> @@ -24,6 +24,7 @@ struct virtDBusConnect {
>  
>      gint domainCallbackIds[VIR_DOMAIN_EVENT_ID_LAST];
>      gint networkCallbackIds[VIR_NETWORK_EVENT_ID_LAST];
> +    gint devCallbackIds[VIR_NODE_DEVICE_EVENT_ID_LAST];

I would prefer nodeDevCallbackIds.

>      gint secretCallbackIds[VIR_SECRET_EVENT_ID_LAST];
>      gint storagePoolCallbackIds[VIR_STORAGE_POOL_EVENT_ID_LAST];
>  };

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180619/02fcdc57/attachment-0001.sig>


More information about the libvir-list mailing list