[RFC REPOST 5/7] remote: add RPC support for the virDomainSetFibreChannelAppid API

Michal Prívozník mprivozn at redhat.com
Fri Sep 10 11:49:27 UTC 2021


On 9/9/21 6:13 PM, Pavel Hrdina wrote:
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/remote/remote_driver.c   |  1 +
>  src/remote/remote_protocol.x | 14 +++++++++++++-
>  src/remote_protocol-structs  |  6 ++++++
>  3 files changed, 20 insertions(+), 1 deletion(-)
> 

> diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
> index df1b126b0c..0a64504d45 100644
> --- a/src/remote/remote_protocol.x
> +++ b/src/remote/remote_protocol.x
> @@ -3854,6 +3854,12 @@ struct remote_domain_start_dirty_rate_calc_args {
>      unsigned int flags;
>  };
>  
> +struct remote_domain_set_fibre_channel_appid_args {
> +    remote_nonnull_domain dom;
> +    remote_string appid;
> +    unsigned int flags;
> +};
> +
>  
>  /*----- Protocol. -----*/
>  
> @@ -6818,5 +6824,11 @@ enum remote_procedure {
>       * @acl: network:write
>       * @acl: network:save
>       */
> -    REMOTE_PROC_NETWORK_DEFINE_XML_FLAGS = 432
> +    REMOTE_PROC_NETWORK_DEFINE_XML_FLAGS = 432,
> +
> +    /**
> +     * @generate: both
> +     * @acl: domain:write

Since this is not talking to QEMU on monitor it can't block really and
thus it's safe to be marked with @priority: high.

> +     */
> +    REMOTE_PROC_DOMAIN_SET_FIBRE_CHANNEL_APPID = 433
>  };

Michal




More information about the libvir-list mailing list