[libvirt] [PATCH v2 0/8] Prepare for daemon split

John Ferlan jferlan at redhat.com
Thu Apr 5 11:16:00 UTC 2018



On 04/05/2018 06:51 AM, Daniel P. Berrangé wrote:
> When we split up the daemons, libvirtd will need to forward different
> sets of APIs to different daemons. This means libvirtd is going to need
> to have multiple virConnectPtr instances open.
> 
> This series prepares for that by introducing "separate" connections,
> which are actually just an extra reference on the current single
> connection. This will facilitate later changes.
> 
> Daniel P. Berrangé (8):
>   rpc: refactor way connection object is generated for remote dispatch
>   remote: push check for conn down into remoteClientFreePrivateCallbacks
>   remote: use a separate connection for interface APIs
>   remote: use a separate connection for network APIs
>   remote: use a separate connection for nodedev APIs
>   remote: use a separate connection for nwfilter APIs
>   remote: use a separate connection for secret APIs
>   remote: use a separate connection for storage APIs
> 
>  src/remote/remote_daemon.h          |   6 +++
>  src/remote/remote_daemon_dispatch.c |  94 +++++++++++++++++++-------------
>  src/rpc/gendispatch.pl              | 104 +++++++++++++++++++++++++-----------
>  3 files changed, 138 insertions(+), 66 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

(series)

John




More information about the libvir-list mailing list