[Libvirt-cim] [PATCH 14 of 27] Hack up RegisteredProfile to work with the new prototype

Dan Smith danms at us.ibm.com
Mon Nov 19 18:26:06 UTC 2007


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1195499075 28800
# Node ID efeaecd744af8a062b02b5b6614fd80bc7a7cc48
# Parent  f328924600e90f76f360e19c40b30cd63bc40801
Hack up RegisteredProfile to work with the new prototype
...I'll fix it later when I figure out how we're going to do all of the
per-class stuff in profiles.

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

diff -r f328924600e9 -r efeaecd744af src/Virt_RegisteredProfile.c
--- a/src/Virt_RegisteredProfile.c	Mon Nov 19 11:02:29 2007 -0800
+++ b/src/Virt_RegisteredProfile.c	Mon Nov 19 11:04:35 2007 -0800
@@ -50,7 +50,7 @@ CMPIInstance *reg_prof_instance(const CM
         CMPIInstance *instance = NULL;
         char *classname;
 
-        classname = get_typed_class("RegisteredProfile");
+        classname = get_typed_class("Xen", "RegisteredProfile");
         if (classname == NULL) {
                 goto out;
         }




More information about the Libvirt-cim mailing list