mirror of https://gitee.com/openkylin/libvirt.git
Fix remote socket path for SSH tunnel connections
This commit is contained in:
parent
c0b64e9daa
commit
2be4d86740
|
@ -1,3 +1,8 @@
|
|||
Thu Jun 18 14:56:24 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/remote_internal.c: Fix socket path for remote SSH
|
||||
tunnels to honour read-only flag
|
||||
|
||||
Wed Jun 17 10:31:35 CEST 2009 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/node_device.[ch] src/storage_backend.[ch]: fixes a
|
||||
|
|
|
@ -722,7 +722,10 @@ doRemoteOpen (virConnectPtr conn,
|
|||
cmd_argv[j++] = strdup (priv->hostname);
|
||||
cmd_argv[j++] = strdup (netcat ? netcat : "nc");
|
||||
cmd_argv[j++] = strdup ("-U");
|
||||
cmd_argv[j++] = strdup (sockname ? sockname : LIBVIRTD_PRIV_UNIX_SOCKET);
|
||||
cmd_argv[j++] = strdup (sockname ? sockname :
|
||||
(flags & VIR_CONNECT_RO
|
||||
? LIBVIRTD_PRIV_UNIX_SOCKET_RO
|
||||
: LIBVIRTD_PRIV_UNIX_SOCKET));
|
||||
cmd_argv[j++] = 0;
|
||||
assert (j == nr_args);
|
||||
for (j = 0; j < (nr_args-1); j++)
|
||||
|
|
Loading…
Reference in New Issue