[libvirt] [PATCH 10/13] esx: Don't warn about '/' paths

Matthias Bolte matthias.bolte at googlemail.com
Sat Dec 12 23:20:47 UTC 2009


---
 src/esx/esx_driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
index ca8b4d3..221d29d 100644
--- a/src/esx/esx_driver.c
+++ b/src/esx/esx_driver.c
@@ -293,7 +293,7 @@ esxOpen(virConnectPtr conn, virConnectAuthPtr auth, int flags ATTRIBUTE_UNUSED)
         return VIR_DRV_OPEN_DECLINED;
     }
 
-    if (conn->uri->path != NULL) {
+    if (conn->uri->path != NULL && STRNEQ(conn->uri->path, "/")) {
         VIR_WARN("Ignoring unexpected path '%s' in URI", conn->uri->path);
     }
 
-- 
1.6.0.4




More information about the libvir-list mailing list