[Libvirt-cim] [PATCH 2 of 2] Add VirtualSystemSnapshotService build support

Dan Smith danms at us.ibm.com
Tue Feb 26 15:31:58 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1204039908 28800
# Node ID 822e09efc574c5f2892095a8b1e6d48cf1fa7e2e
# Parent  c173208c9c4c70d4ca736f31a19f278268e73971
Add VirtualSystemSnapshotService build support

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r c173208c9c4c -r 822e09efc574 Makefile.am
--- a/Makefile.am	Tue Feb 26 07:28:58 2008 -0800
+++ b/Makefile.am	Tue Feb 26 07:31:48 2008 -0800
@@ -37,7 +37,8 @@ MOFS = \
 	schema/ElementSettingData.mof \
 	schema/VSMigrationCapabilities.mof \
 	schema/VSMigrationService.mof \
-	schema/VSMigrationSettingData.mof 
+	schema/VSMigrationSettingData.mof \
+	schema/VirtualSystemSnapshotService.mof
 
 INTEROP_MOFS = \
 	schema/ComputerSystem.mof \
@@ -81,7 +82,8 @@ REGS = \
 	schema/VSMigrationCapabilities.registration \
 	schema/VSMigrationService.registration \
 	schema/ElementConformsToProfile.registration \
-	schema/VSMigrationSettingData.registration 
+	schema/VSMigrationSettingData.registration \
+	schema/VirtualSystemSnapshotService.registration
 
 INTEROP_REGS = \
 	schema/RegisteredProfile.registration \
diff -r c173208c9c4c -r 822e09efc574 schema/VirtualSystemSnapshotService.mof
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VirtualSystemSnapshotService.mof	Tue Feb 26 07:31:48 2008 -0800
@@ -0,0 +1,7 @@
+// Copyright IBM Corp. 2008
+
+[Description ( "Snapshot types are as follows: "
+	       "32768: Memory-only snapshot (suspend, resume, keep image)"
+	       "32769: Memory-only, terminal (domain is offline after op)")]
+class Xen_VirtualSystemSnapshotService : CIM_VirtualSystemSnapshotService { };
+class KVM_VirtualSystemSnapshotService : CIM_VirtualSystemSnapshotService { };
diff -r c173208c9c4c -r 822e09efc574 schema/VirtualSystemSnapshotService.registration
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VirtualSystemSnapshotService.registration	Tue Feb 26 07:31:48 2008 -0800
@@ -0,0 +1,4 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_VirtualSystemSnapshotService root/virt Virt_VirtualSystemSnapshotService Virt_VirtualSystemSnapshotService method
+KVM_VirtualSystemSnapshotService root/virt Virt_VirtualSystemSnapshotService Virt_VirtualSystemSnapshotService method
diff -r c173208c9c4c -r 822e09efc574 src/Makefile.am
--- a/src/Makefile.am	Tue Feb 26 07:28:58 2008 -0800
+++ b/src/Makefile.am	Tue Feb 26 07:31:48 2008 -0800
@@ -56,7 +56,8 @@ provider_LTLIBRARIES = libVirt_ComputerS
                        libVirt_ElementSettingData.la \
                        libVirt_VSMigrationCapabilities.la \
                        libVirt_VSMigrationService.la \
-                       libVirt_VSMigrationSettingData.la
+                       libVirt_VSMigrationSettingData.la \
+                       libVirt_VirtualSystemSnapshotService.la
 
 libVirt_ComputerSystem_la_SOURCES = Virt_ComputerSystem.c
 libVirt_Device_la_SOURCES = Virt_Device.c
@@ -161,3 +162,6 @@ libVirt_VSMigrationService_la_LIBADD = -
 
 libVirt_VSMigrationSettingData_la_SOURCES = Virt_VSMigrationSettingData.c
 
+libVirt_VirtualSystemSnapshotService_la_DEPENDENCIES = 
+libVirt_VirtualSystemSnapshotService_la_SOURCES = Virt_VirtualSystemSnapshotService.c
+libVirt_VirtualSystemSnapshotService_la_LIBADD =




More information about the Libvirt-cim mailing list