]> xenbits.xensource.com Git - libvirt.git/commitdiff
parallels: change URI to parallels:///system
authorDmitry Guryanov <dguryanov@parallels.com>
Mon, 13 Aug 2012 15:50:12 +0000 (19:50 +0400)
committerDaniel Veillard <veillard@redhat.com>
Wed, 15 Aug 2012 08:39:32 +0000 (16:39 +0800)
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>
docs/drvparallels.html.in
src/parallels/parallels_driver.c

index 40a0fe59d98753ecf8c1c96bd6ad442cb0dc33a2..8e1430b5ec9807a11548763573f65abb3e557428 100644 (file)
         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>
index 60827b9896ab2b95ba4173eb183745a008b5e25e..b5e079112252122b8f974ca9f5f384792be84ddf 100644 (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;