# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198066581 -3600
# Node ID af0fdc34cdc05deb3d03ddf31713a96007f49284
# Parent 7eee552df9d39221db1b9415c8d237c34aec6867
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 7eee552df9d3 -r af0fdc34cdc0 schema/RegisteredProfile.mof
--- a/schema/RegisteredProfile.mof Wed Dec 19 13:16:20 2007 +0100
+++ b/schema/RegisteredProfile.mof Wed Dec 19 13:16: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 7eee552df9d3 -r af0fdc34cdc0 schema/RegisteredProfile.registration
--- a/schema/RegisteredProfile.registration Wed Dec 19 13:16:20 2007 +0100
+++ b/schema/RegisteredProfile.registration Wed Dec 19 13:16: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 7eee552df9d3 -r af0fdc34cdc0 src/Virt_RegisteredProfile.c
--- a/src/Virt_RegisteredProfile.c Wed Dec 19 13:16:20 2007 +0100
+++ b/src/Virt_RegisteredProfile.c Wed Dec 19 13:16: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());
/*