# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182615 -3600
# Node ID 3a6249849fabbdd217fd0ce0d2f697443c8b27ce
# Parent 6d6ab1dddcdc4835de7c492635f531ed4797a736
HostSystem: OpenWbem support
- rename provider from HostSystemProvider to HostSystem
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 6d6ab1dddcdc -r 3a6249849fab schema/HostSystem.mof
--- a/schema/HostSystem.mof Thu Dec 20 21:30:11 2007 +0100
+++ b/schema/HostSystem.mof Thu Dec 20 21:30:15 2007 +0100
@@ -2,7 +2,8 @@
[Description (
"A class derived from CIM_ComputerSystem to represent "
- "the Xen host system.")
+ "the Xen host system."),
+ Provider("cmpi::Virt_HostSystem")
]
class Xen_HostSystem : CIM_ComputerSystem
{
@@ -10,7 +11,8 @@ class Xen_HostSystem : CIM_ComputerSyste
[Description (
"A class derived from CIM_ComputerSystem to represent "
- "the KVM host system.")
+ "the KVM host system."),
+ Provider("cmpi::Virt_HostSystem")
]
class KVM_HostSystem : CIM_ComputerSystem
{
diff -r 6d6ab1dddcdc -r 3a6249849fab schema/HostSystem.registration
--- a/schema/HostSystem.registration Thu Dec 20 21:30:11 2007 +0100
+++ b/schema/HostSystem.registration Thu Dec 20 21:30:15 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_HostSystem root/virt Virt_HostSystemProvider Virt_HostSystem instance
-KVM_HostSystem root/virt Virt_HostSystemProvider Virt_HostSystem instance
+Xen_HostSystem root/virt Virt_HostSystem Virt_HostSystem instance
+KVM_HostSystem root/virt Virt_HostSystem Virt_HostSystem instance
diff -r 6d6ab1dddcdc -r 3a6249849fab src/Virt_HostSystem.c
--- a/src/Virt_HostSystem.c Thu Dec 20 21:30:11 2007 +0100
+++ b/src/Virt_HostSystem.c Thu Dec 20 21:30:15 2007 +0100
@@ -173,7 +173,10 @@ DEFAULT_EQ();
DEFAULT_EQ();
DEFAULT_INST_CLEANUP();
-STD_InstanceMIStub(, Virt_HostSystemProvider, _BROKER, libvirt_cim_init());
+STD_InstanceMIStub(,
+ Virt_HostSystem,
+ _BROKER,
+ libvirt_cim_init());
/*
* Local Variables: