# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198064138 -3600
# Node ID 560ee76080af4fb553d98c19d1ddf8ff2d6c6f91
# Parent cc317a7ef54789a792c264b0906b348e6f29a8a4
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 cc317a7ef547 -r 560ee76080af schema/HostSystem.mof
--- a/schema/HostSystem.mof Wed Dec 19 11:16:12 2007 +0100
+++ b/schema/HostSystem.mof Wed Dec 19 12:35:38 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 cc317a7ef547 -r 560ee76080af schema/HostSystem.registration
--- a/schema/HostSystem.registration Wed Dec 19 11:16:12 2007 +0100
+++ b/schema/HostSystem.registration Wed Dec 19 12:35:38 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 cc317a7ef547 -r 560ee76080af src/Virt_HostSystem.c
--- a/src/Virt_HostSystem.c Wed Dec 19 11:16:12 2007 +0100
+++ b/src/Virt_HostSystem.c Wed Dec 19 12:35:38 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: