[Libvirt-cim] [PATCH 1 of 2] Creates and register provider class GuestCrashAlertIndication

Richard Maciel rmaciel at linux.vnet.ibm.com
Sun Aug 16 07:27:24 UTC 2009


# HG changeset patch
# User Richard Maciel <rmaciel at linux.vnet.ibm.com>
# Date 1248549583 10800
# Node ID 0377e5c28fba407e7bf2aae4c5f81d8e521a2adb
# Parent  522c25cd3023342fedd387a64e0d6224e33745b9
Creates and register provider class GuestCrashAlertIndication

Signed-off-by: Richard Maciel <rmaciel at linux.vnet.ibm.com>

diff -r 522c25cd3023 -r 0377e5c28fba Makefile.am
--- a/Makefile.am	Thu Aug 13 09:32:18 2009 -0700
+++ b/Makefile.am	Sat Jul 25 16:19:43 2009 -0300
@@ -55,7 +55,8 @@
         schema/InputPool.mof \
         schema/HostedAccessPoint.mof \
         schema/ServiceAccessBySAP.mof \
-        schema/SAPAvailableForElement.mof
+        schema/SAPAvailableForElement.mof \
+	schema/GuestCrashAlertIndication.mof
 
 INTEROP_MOFS = \
 	schema/ComputerSystem.mof \
@@ -129,7 +130,8 @@
         schema/InputPool.registration \
         schema/HostedAccessPoint.registration \
         schema/ServiceAccessBySAP.registration \
-        schema/SAPAvailableForElement.registration
+        schema/SAPAvailableForElement.registration \
+	schema/GuestCrashAlertIndication.registration
 
 INTEROP_REGS = \
 	schema/RegisteredProfile.registration \
diff -r 522c25cd3023 -r 0377e5c28fba schema/GuestCrashAlertIndication.mof
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/GuestCrashAlertIndication.mof	Sat Jul 25 16:19:43 2009 -0300
@@ -0,0 +1,17 @@
+// Copyright IBM Corp. 2007
+
+[Description ("Xen guest crash alert"),
+ Provider("cmpi::Virt_GuestCrashAlertIndication")
+]
+class Xen_GuestCrashAlertIndication : CIM_AlertIndication
+{
+        //uint32 RaiseIndication([IN] CIM_InstCreation REF TheIndication);
+};
+
+[Description ("KVM guest crash alert"),
+ Provider("cmpi::Virt_GuestCrashAlertIndication")
+]
+class KVM_GuestCrashAlertIndication : CIM_AlertIndication
+{
+        //uint32 RaiseIndication([IN] CIM_InstCreation REF TheIndication);
+};
diff -r 522c25cd3023 -r 0377e5c28fba schema/GuestCrashAlertIndication.registration
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/GuestCrashAlertIndication.registration	Sat Jul 25 16:19:43 2009 -0300
@@ -0,0 +1,4 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_GuestCrashAlertIndication root/virt Virt_GuestCrashAlertIndicationProvider Virt_GuestCrashAlertIndication indication method
+KVM_GuestCrashAlertIndication root/virt Virt_GuestCrashAlertIndicationProvider Virt_GuestCrashAlertIndication indication method




More information about the Libvirt-cim mailing list