[Libvirt-cim] [PATCH 06 of 12] Make HostedResourcePool use connect_by_classname()

Dan Smith danms at us.ibm.com
Mon Nov 19 16:52:57 UTC 2007


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1195492369 28800
# Node ID cfc79d123d0a9760c8c6c1e3d81ef4683e93b988
# Parent  ca9fa1774a7bf967dd12da8e2d57f1b467db354c
Make HostedResourcePool use connect_by_classname()

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r ca9fa1774a7b -r cfc79d123d0a src/Virt_HostedResourcePool.c
--- a/src/Virt_HostedResourcePool.c	Mon Nov 19 09:12:02 2007 -0800
+++ b/src/Virt_HostedResourcePool.c	Mon Nov 19 09:12:49 2007 -0800
@@ -76,7 +76,7 @@ static CMPIStatus sys_to_pool(const CMPI
                 return s;
         }
 
-        conn = lv_connect(_BROKER, &s);
+        conn = connect_by_classname(_BROKER, CLASSNAME(ref), &s);
         if (conn == NULL)
                 return s;
 




More information about the Libvirt-cim mailing list