[libvirt] [PATCH] remote: refactor how unprivileged user session connection is identified
Michal Privoznik
mprivozn at redhat.com
Thu Jun 20 14:29:45 UTC 2019
On 6/19/19 3:09 PM, Daniel P. Berrangé wrote:
> Currently the VIR_DRV_OPEN_REMOTE_USER flag is only set when we identify
> that we're connecting to a local libvirtd daemon. We would like to be
> able to set that even if connecting to a remote libvirtd daemon. This
> entails refactoring the conditional check.
>
> One subtle change is that the VIR_DRV_OPEN_REMOTE_USER is now set when
> the test+XXX:// URI is used, even if a servername is present. This has
> no effect in this patch, but will later.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
> src/remote/remote_driver.c | 26 ++++++++++++++++++--------
> 1 file changed, 18 insertions(+), 8 deletions(-)
ACK
Michal
More information about the libvir-list
mailing list