From dd8b3c6e76053c8a94c9237f2bb93f6406cb6010 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 26 Jun 2007 22:57:41 +0000 Subject: [PATCH] Don't try to handle URIs with hostname in test driver --- ChangeLog | 4 ++++ src/test.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index cd65bb3dfe..25de5ac2bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 26 18:56:00 EST 2007 Daniel P. Berrange + + * src/test.c: Don't try to handle URIs with a hostname + Tue Jun 26 18:53:00 EST 2007 Daniel P. Berrange * src/internal.h, src/libvirt.c, src/driver.h, src/libvirt_sym.version diff --git a/src/test.c b/src/test.c index 922826b4e7..31a24ded17 100644 --- a/src/test.c +++ b/src/test.c @@ -743,6 +743,11 @@ int testOpen(virConnectPtr conn, return VIR_DRV_OPEN_DECLINED; } + if (uri->server) { + xmlFreeURI(uri); + return VIR_DRV_OPEN_DECLINED; + } + /* From this point on, the connection is for us. */ if (!uri->path || uri->path[0] == '\0' -- 2.47.2