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: Dmitry Guryanov <dguryanov@parallels.com>
This commit is contained in:
Dmitry Guryanov 2012-08-13 19:50:12 +04:00 committed by Daniel Veillard
parent ede82a6cfb
commit 4aaa5a723d
2 changed files with 7 additions and 7 deletions

View File

@ -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>

View File

@ -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;