
# HG changeset patch # User Heidi Eckhart <heidieck@linux.vnet.ibm.com> # Date 1198182623 -3600 # Node ID a3524d0d678318b3a8f7bacb1ebca081b33f8976 # Parent c37a06330fcafd3e6634a674b2fc2c7e800ee37e 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@linux.vnet.ibm.com> diff -r c37a06330fca -r a3524d0d6783 schema/SystemDevice.mof --- a/schema/SystemDevice.mof Thu Dec 20 21:30:22 2007 +0100 +++ b/schema/SystemDevice.mof Thu Dec 20 21:30:23 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 c37a06330fca -r a3524d0d6783 schema/SystemDevice.registration --- a/schema/SystemDevice.registration Thu Dec 20 21:30:22 2007 +0100 +++ b/schema/SystemDevice.registration Thu Dec 20 21:30:23 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 c37a06330fca -r a3524d0d6783 src/Virt_SystemDevice.c --- a/src/Virt_SystemDevice.c Thu Dec 20 21:30:22 2007 +0100 +++ b/src/Virt_SystemDevice.c Thu Dec 20 21:30:23 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: