
# HG changeset patch # User Heidi Eckhart <heidieck@linux.vnet.ibm.com> # Date 1198182622 -3600 # Node ID c37a06330fcafd3e6634a674b2fc2c7e800ee37e # Parent 151f147d3c330d1cf2b6bf8e68e3eb5bc8a12d5c SettingsDefineState: OpenWbem support - rename provider from SettingsDefineStateProvider to SettingsDefineState - update registration file with new providername - add "Provider" qualifier to mof Signed-off-by: Heidi Eckhart <heidieck@linux.vnet.ibm.com> diff -r 151f147d3c33 -r c37a06330fca schema/SettingsDefineState.mof --- a/schema/SettingsDefineState.mof Thu Dec 20 21:30:22 2007 +0100 +++ b/schema/SettingsDefineState.mof Thu Dec 20 21:30:22 2007 +0100 @@ -1,11 +1,15 @@ // Copyright IBM Corp. 2007 -[Association] +[Association, + Provider("cmpi::Virt_SettingsDefineState") +] class Xen_SettingsDefineState : CIM_SettingsDefineState { }; -[Association] +[Association, + Provider("cmpi::Virt_SettingsDefineState") +] class KVM_SettingsDefineState : CIM_SettingsDefineState { }; \ No newline at end of file diff -r 151f147d3c33 -r c37a06330fca schema/SettingsDefineState.registration --- a/schema/SettingsDefineState.registration Thu Dec 20 21:30:22 2007 +0100 +++ b/schema/SettingsDefineState.registration Thu Dec 20 21:30:22 2007 +0100 @@ -1,4 +1,4 @@ # Copyright IBM Corp. 2007 # Classname Namespace ProviderName ProviderModule ProviderTypes -Xen_SettingsDefineState root/virt Virt_SettingsDefineStateProvider Virt_SettingsDefineState association -KVM_SettingsDefineState root/virt Virt_SettingsDefineStateProvider Virt_SettingsDefineState association +Xen_SettingsDefineState root/virt Virt_SettingsDefineState Virt_SettingsDefineState association +KVM_SettingsDefineState root/virt Virt_SettingsDefineState Virt_SettingsDefineState association diff -r 151f147d3c33 -r c37a06330fca src/Virt_SettingsDefineState.c --- a/src/Virt_SettingsDefineState.c Thu Dec 20 21:30:22 2007 +0100 +++ b/src/Virt_SettingsDefineState.c Thu Dec 20 21:30:22 2007 +0100 @@ -392,7 +392,11 @@ static struct std_assoc *handlers[] = { NULL }; -STDA_AssocMIStub(, Virt_SettingsDefineStateProvider, _BROKER, libvirt_cim_init(), handlers); +STDA_AssocMIStub(, + Virt_SettingsDefineState, + _BROKER, + libvirt_cim_init(), + handlers); /* * Local Variables: