Re: [libvirt] [PATCH 39/41] remote: refactor the code for choosing the UNIX socket path

2019-07-29 Thread Andrea Bolognani
On Tue, 2019-07-23 at 17:03 +0100, Daniel P. Berrangé wrote: [...] > +++ b/src/remote/remote_driver.c > @@ -739,34 +739,35 @@ remoteConnectSupportsFeatureUnlocked(virConnectPtr conn, > +static char * > +remoteGetUNIXSocket(remoteDriverTransport transport, > +unsigned int flags)

[libvirt] [PATCH 39/41] remote: refactor the code for choosing the UNIX socket path

2019-07-23 Thread Daniel P . Berrangé
The ssh, libssh, libssh2 & unix transports all need to use a UNIX socket path, and duplicate some of the same logic for error checking. Pull this out into a separate method to increase code sharing. Signed-off-by: Daniel P. Berrangé --- src/remote/remote_driver.c | 111