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

Richard Maciel rmaciel at linux.vnet.ibm.com
Mon Jan 11 18:16:52 UTC 2010


# HG changeset patch
# User Richard Maciel <rmaciel at linux.vnet.ibm.com>
# Date 1248549583 10800
# Node ID 23b104fd6d9cad1416d89c60750c603eef7d3381
# Parent  2e80fd8fdbc575decc0b8a1623f8b9ad9122dccf
Creates and register provider class GuestCrashAlertIndication

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

diff -r 2e80fd8fdbc5 -r 23b104fd6d9c Makefile.am
--- a/Makefile.am	Fri Dec 11 18:04:28 2009 -0800
+++ b/Makefile.am	Sat Jul 25 16:19:43 2009 -0300
@@ -56,7 +56,8 @@
 	schema/InputPool.mof \
 	schema/HostedAccessPoint.mof \
 	schema/ServiceAccessBySAP.mof \
-	schema/SAPAvailableForElement.mof
+	schema/SAPAvailableForElement.mof \
+	schema/GuestCrashAlertIndication.mof
 
 INTEROP_MOFS = \
 	schema/ComputerSystem.mof \
@@ -136,7 +137,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 2e80fd8fdbc5 -r 23b104fd6d9c 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 2e80fd8fdbc5 -r 23b104fd6d9c 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