# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198069811 -3600
# Node ID a2411bdc20ffbea13758137f67321b1ad185a3ee
# Parent 57e751879fd4d235827c9b5a19fc816333c91585
SystemDevice: OpenWbem support
- rename provider from SystemDeviceProvider to SystemDevice
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 57e751879fd4 -r a2411bdc20ff schema/SystemDevice.mof
--- a/schema/SystemDevice.mof Wed Dec 19 13:31:32 2007 +0100
+++ b/schema/SystemDevice.mof Wed Dec 19 14:10:11 2007 +0100
@@ -2,7 +2,8 @@
[Association,
Description (
- "A class to associate a Xen_ComputerSystem with its devices." )
+ "A class to associate a Xen_ComputerSystem with its devices." ),
+ Provider("cmpi::Virt_SystemDevice")
]
class Xen_SystemDevice : CIM_SystemDevice
{
@@ -17,7 +18,8 @@ class Xen_SystemDevice : CIM_SystemDevic
[Association,
Description (
- "A class to associate a KVM_ComputerSystem with its devices." )
+ "A class to associate a KVM_ComputerSystem with its devices." ),
+ Provider("cmpi::Virt_SystemDevice")
]
class KVM_SystemDevice : CIM_SystemDevice
{
diff -r 57e751879fd4 -r a2411bdc20ff schema/SystemDevice.registration
--- a/schema/SystemDevice.registration Wed Dec 19 13:31:32 2007 +0100
+++ b/schema/SystemDevice.registration Wed Dec 19 14:10:11 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_SystemDevice root/virt Virt_SystemDeviceProvider Virt_SystemDevice association
-KVM_SystemDevice root/virt Virt_SystemDeviceProvider Virt_SystemDevice association
+Xen_SystemDevice root/virt Virt_SystemDevice Virt_SystemDevice association
+KVM_SystemDevice root/virt Virt_SystemDevice Virt_SystemDevice association
diff -r 57e751879fd4 -r a2411bdc20ff src/Virt_SystemDevice.c
--- a/src/Virt_SystemDevice.c Wed Dec 19 13:31:32 2007 +0100
+++ b/src/Virt_SystemDevice.c Wed Dec 19 14:10:11 2007 +0100
@@ -268,7 +268,11 @@ static struct std_assoc *assoc_handlers[
NULL
};
-STDA_AssocMIStub(, Virt_SystemDeviceProvider, _BROKER, libvirt_cim_init(),
assoc_handlers);
+STDA_AssocMIStub(,
+ Virt_SystemDevice,
+ _BROKER,
+ libvirt_cim_init(),
+ assoc_handlers);
/*
* Local Variables: