[libvirt] [PATCH v3 4/7] remote: implement storage lifecycle event APIs

Cole Robinson crobinso at redhat.com
Tue Jun 14 23:21:31 UTC 2016


On 06/14/2016 04:29 PM, Jovanka Gulicoska wrote:
> Changes since v2: fix comment formating, change in comment,
> move REMOTE_PROC_STORAGE_POOL_EVENT_LIFECYCLE to buttom of list
> ---
>  daemon/libvirtd.h            |   2 +
>  daemon/remote.c              | 207 ++++++++++++++++++++++++++++++++++++++++++-
>  src/remote/remote_driver.c   | 128 ++++++++++++++++++++++++++
>  src/remote/remote_protocol.x |  43 ++++++++-
>  src/remote_protocol-structs  |  16 ++++
>  5 files changed, 392 insertions(+), 4 deletions(-)

> diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs
> index fe1b8a8..85bc62d 100644
> --- a/src/remote_protocol-structs
> +++ b/src/remote_protocol-structs
> @@ -2551,6 +2551,22 @@ struct remote_network_event_lifecycle_msg {
>          int                        event;
>          int                        detail;
>  };
> +struct remote_connect_storage_pool_event_register_any_args {
> +        int                             eventID;
> +        remote_storage_pool             pool;
> +};
> +struct remote_connect_storage_pool_event_register_any_ret {
> +        int                        callbackID;
> +};
> +struct remote_connect_storage_pool_event_deregister_any_args {
> +        int                        callbackID;
> +};
> +struct remote_storage_pool_event_lifecycle_msg {
> +        int                             callbackID;
> +        remote_nonnull_storage_pool     pool;
> +        int                             event;
> +        int                             detail;
> +};
>  struct remote_domain_fsfreeze_args {
>          remote_nonnull_domain      dom;
>          struct {
> 

This looks like it's missing peter's suggested change to avoid the 'make
check' error (which I don't think you or I can reproduce but it seems to be
some other build system problem)

- Cole




More information about the libvir-list mailing list