# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1196711744 28800
# Node ID 2e1935bc44ac74a96a210b0d6c1126e0f14081ef
# Parent 143c73b947bd26659f5a8ef94e471a0a85e526f5
Add VirtualSystemMigrationCapabilties build support
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 143c73b947bd -r 2e1935bc44ac Makefile.am
--- a/Makefile.am Mon Dec 03 11:55:44 2007 -0800
+++ b/Makefile.am Mon Dec 03 11:55:44 2007 -0800
@@ -33,7 +33,8 @@ MOFS = \
schema/ResourceAllocationFromPool.mof \
schema/ElementAllocatedFromPool.mof \
schema/HostedService.mof \
- schema/ElementSettingData.mof
+ schema/ElementSettingData.mof \
+ schema/VSMigrationCapabilities.mof
INTEROP_MOFS = \
schema/ComputerSystem.mof \
@@ -72,7 +73,8 @@ REGS = \
schema/ResourceAllocationFromPool.registration \
schema/ElementAllocatedFromPool.registration \
schema/HostedService.registration \
- schema/ElementSettingData.registration
+ schema/ElementSettingData.registration \
+ schema/VSMigrationCapabilities.registration
INTEROP_REGS = \
schema/RegisteredProfile.registration \
diff -r 143c73b947bd -r 2e1935bc44ac schema/VSMigrationCapabilities.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationCapabilities.mof Mon Dec 03 11:55:44 2007 -0800
@@ -0,0 +1,17 @@
+// Copyright IBM Corp. 2007
+
+class Virt_VirtualSystemMigrationCapabilities : CIM_Capabilities {
+
+ uint16 DestinationHostFormatsSupported[];
+
+ uint16 SynchronousMethodsSupported[];
+
+ uint16 AsynchronousMethodsSupported[];
+
+};
+
+class Xen_VirtualSystemMigrationCapabilities : Virt_VirtualSystemMigrationCapabilities {
+};
+
+class KVM_VirtualSystemMigrationCapabilities : Virt_VirtualSystemMigrationCapabilities {
+};
diff -r 143c73b947bd -r 2e1935bc44ac schema/VSMigrationCapabilities.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationCapabilities.registration Mon Dec 03 11:55:44 2007 -0800
@@ -0,0 +1,4 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_VirtualSystemMigrationCapabilities root/virt Virt_VSMC Virt_VSMigrationCapabilities
instance
+KVM_VirtualSystemMigrationCapabilities root/virt Virt_VSMC Virt_VSMigrationCapabilities
instance
\ No newline at end of file
diff -r 143c73b947bd -r 2e1935bc44ac src/Makefile.am
--- a/src/Makefile.am Mon Dec 03 11:55:44 2007 -0800
+++ b/src/Makefile.am Mon Dec 03 11:55:44 2007 -0800
@@ -50,7 +50,8 @@ provider_LTLIBRARIES = libVirt_ComputerS
libVirt_ResourceAllocationFromPool.la \
libVirt_ElementAllocatedFromPool.la \
libVirt_HostedService.la \
- libVirt_ElementSettingData.la
+ libVirt_ElementSettingData.la \
+ libVirt_VSMigrationCapabilities.la
libVirt_ComputerSystem_la_SOURCES = Virt_ComputerSystem.c
libVirt_Device_la_SOURCES = Virt_Device.c
@@ -138,3 +139,5 @@ libVirt_ElementSettingData_la_DEPENDENCI
libVirt_ElementSettingData_la_DEPENDENCIES = libVirt_VSSD.la libVirt_RASD.la
libVirt_ElementSettingData_la_SOURCES = Virt_ElementSettingData.c
libVirt_ElementSettingData_la_LIBADD = -lVirt_VSSD -lVirt_RASD
+
+libVirt_VSMigrationCapabilities_la_SOURCES = Virt_VSMigrationCapabilities.c
\ No newline at end of file