提交 4aaa5a72 编写于 作者: D Dmitry Guryanov 提交者: Daniel Veillard

parallels: change URI to parallels:///system

Let's change URI to parallels:///system. Parallels Server supports
creating VMs from non-privileged accounts, but it's not main usage
scenario and it may be forbidden in the future.

Also containers, which will be supported by the driver, can be managed
only by root, so /system path is more suitable for this driver.
Signed-off-by: NDmitry Guryanov <dguryanov@parallels.com>
上级 ede82a6c
......@@ -19,10 +19,10 @@
The libvirt Parallels driver is a single-instance privileged driver, with a driver name of 'parallels'. Some example connection URIs for the libvirt driver are:
</p>
<pre>
parallels:///default (local access)
parallels+unix:///default (local access)
parallels://example.com/default (remote access, TLS/x509)
parallels+tcp://example.com/default (remote access, SASl/Kerberos)
parallels+ssh://root@example.com/default (remote access, SSH tunnelled)
parallels:///system (local access)
parallels+unix:///system (local access)
parallels://example.com/system (remote access, TLS/x509)
parallels+tcp://example.com/system (remote access, SASl/Kerberos)
parallels+ssh://root@example.com/system (remote access, SSH tunnelled)
</pre>
</body></html>
......@@ -669,11 +669,11 @@ parallelsOpen(virConnectPtr conn,
(conn->uri->path[0] == '/' && conn->uri->path[1] == '\0')) {
virReportError(VIR_ERR_INVALID_ARG, "%s",
_("parallelsOpen: supply a path or use "
"parallels:///session"));
"parallels:///system"));
return VIR_DRV_OPEN_ERROR;
}
if (STREQ(conn->uri->path, "/session"))
if (STREQ(conn->uri->path, "/system"))
ret = parallelsOpenDefault(conn);
else
return VIR_DRV_OPEN_DECLINED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册