[Libvirt-cim] [PATCH 14 of 29] HostedService: OpenWbem support

Heidi Eckhart heidieck at linux.vnet.ibm.com
Thu Dec 20 19:34:34 UTC 2007


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1198182620 -3600
# Node ID 6d1e90a790bb8f1989e1da30f093457a06d2792b
# Parent  eab9a00f1fd87ccd79ffeaabfa19a062a5ce9516
HostedService: OpenWbem support

- rename provider from HostedServiceProvider to HostedService
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r eab9a00f1fd8 -r 6d1e90a790bb schema/HostedService.mof
--- a/schema/HostedService.mof	Thu Dec 20 21:30:20 2007 +0100
+++ b/schema/HostedService.mof	Thu Dec 20 21:30:20 2007 +0100
@@ -1,11 +1,15 @@
 // Copyright IBM Corp. 2007
 
-[Association]
+[Association,
+ Provider("cmpi::Virt_HostedService")
+]
 class Xen_HostedService : CIM_HostedService
 {
 };
 
-[Association]
+[Association,
+ Provider("cmpi::Virt_HostedService")
+]
 class KVM_HostedService : CIM_HostedService
 {
 };
diff -r eab9a00f1fd8 -r 6d1e90a790bb schema/HostedService.registration
--- a/schema/HostedService.registration	Thu Dec 20 21:30:20 2007 +0100
+++ b/schema/HostedService.registration	Thu Dec 20 21:30:20 2007 +0100
@@ -1,4 +1,4 @@
 # Copyright IBM Corp. 2007
 # Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_HostedService root/virt Virt_HostedServiceProvider Virt_HostedService association
-KVM_HostedService root/virt Virt_HostedServiceProvider Virt_HostedService association
+Xen_HostedService root/virt Virt_HostedService Virt_HostedService association
+KVM_HostedService root/virt Virt_HostedService Virt_HostedService association
diff -r eab9a00f1fd8 -r 6d1e90a790bb src/Virt_HostedService.c
--- a/src/Virt_HostedService.c	Thu Dec 20 21:30:20 2007 +0100
+++ b/src/Virt_HostedService.c	Thu Dec 20 21:30:20 2007 +0100
@@ -141,7 +141,11 @@ static struct std_assoc *handlers[] = {
         NULL
 };
 
-STDA_AssocMIStub(, Virt_HostedServiceProvider, _BROKER, libvirt_cim_init(), handlers);
+STDA_AssocMIStub(, 
+                 Virt_HostedService,
+                 _BROKER,
+                 libvirt_cim_init(),
+                 handlers);
 
 /*
  * Local Variables:




More information about the Libvirt-cim mailing list