Re: [PATCH 5/7] remote: use a separate connection for nwfilter APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 03/28/2018 11:18 AM, Daniel P. Berrangé wrote:
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  src/remote/remote_daemon.h          | 1 +
>  src/remote/remote_daemon_dispatch.c | 3 +++
>  src/rpc/gendispatch.pl              | 6 ++++++
>  3 files changed, 10 insertions(+)
> 

[...]

> diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl
> index 0e7567fbde..d8ab8b17dd 100755
> --- a/src/rpc/gendispatch.pl
> +++ b/src/rpc/gendispatch.pl
> @@ -134,6 +134,9 @@ sub get_conn_arg {
>          if ($type =~ /remote_nonnull_node_device/) {
>              return "priv->nodedevConn";
>          }
> +        if ($type =~ /remote_nonnull_nwfilter/) {
> +            return "priv->nwfilterConn";
> +        }
>      }
>  
>      # This is for the few virConnect APIs that
> @@ -148,6 +151,9 @@ sub get_conn_arg {
>      if ($proc =~ /Node.*Device/) {
>          return "priv->nodedevConn";
>      }
> +    if ($proc =~ /Connect.*NWFilter/) {
> +        return "priv->nodedevConn";

s/nodedev/nwfilter

w/ the adjustment...

Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>

John
> +    }
>  
>      return "priv->conn";
>  }
> 

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux