# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182621 -3600
# Node ID 7eaa38dd006eced987f5d946306a4b80ff3b3fc0
# Parent 2ca0648a068045d57f1329bab6f78ecf2dff8588
RegisteredProfile: OpenWbem support
- rename provider from RegisteredProfileProvider to RegisteredProfile
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 2ca0648a0680 -r 7eaa38dd006e schema/RegisteredProfile.mof
--- a/schema/RegisteredProfile.mof Thu Dec 20 21:30:21 2007 +0100
+++ b/schema/RegisteredProfile.mof Thu Dec 20 21:30:21 2007 +0100
@@ -2,7 +2,8 @@
[Description (
"A class derived from CIM_RegisteredProfile to represent "
- "an advertised conformant profile.")
+ "an advertised conformant profile."),
+ Provider("cmpi::Virt_RegisteredProfile")
]
class Xen_RegisteredProfile : CIM_RegisteredProfile
{
@@ -10,7 +11,8 @@ class Xen_RegisteredProfile : CIM_Regist
[Description (
"A class derived from CIM_RegisteredProfile to represent "
- "an advertised conformant profile.")
+ "an advertised conformant profile."),
+ Provider("cmpi::Virt_RegisteredProfile")
]
class KVM_RegisteredProfile : CIM_RegisteredProfile
{
diff -r 2ca0648a0680 -r 7eaa38dd006e schema/RegisteredProfile.registration
--- a/schema/RegisteredProfile.registration Thu Dec 20 21:30:21 2007 +0100
+++ b/schema/RegisteredProfile.registration Thu Dec 20 21:30:21 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_RegisteredProfile root/interop Virt_RegisteredProfileProvider Virt_RegisteredProfile
instance
-KVM_RegisteredProfile root/interop Virt_RegisteredProfileProvider Virt_RegisteredProfile
instance
+Xen_RegisteredProfile root/interop Virt_RegisteredProfile Virt_RegisteredProfile
instance
+KVM_RegisteredProfile root/interop Virt_RegisteredProfile Virt_RegisteredProfile
instance
diff -r 2ca0648a0680 -r 7eaa38dd006e src/Virt_RegisteredProfile.c
--- a/src/Virt_RegisteredProfile.c Thu Dec 20 21:30:21 2007 +0100
+++ b/src/Virt_RegisteredProfile.c Thu Dec 20 21:30:21 2007 +0100
@@ -197,7 +197,9 @@ DEFAULT_EQ();
DEFAULT_EQ();
DEFAULT_INST_CLEANUP();
-STD_InstanceMIStub(, Virt_RegisteredProfileProvider, _BROKER,
+STD_InstanceMIStub(,
+ Virt_RegisteredProfile,
+ _BROKER,
libvirt_cim_init());
/*