# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1196787215 28800
# Node ID 853bc758cb198acef26fb916fa913108ef50a3f8
# Parent 4a7e5f2cbb2301be1421491d1ba03870983af27f
Add VirtualSystemMigrationCapabilties build support
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 4a7e5f2cbb23 -r 853bc758cb19 Makefile.am
--- a/Makefile.am Tue Dec 04 08:53:32 2007 -0800
+++ b/Makefile.am Tue Dec 04 08:53:35 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 4a7e5f2cbb23 -r 853bc758cb19 schema/VSMigrationCapabilities.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationCapabilities.mof Tue Dec 04 08:53:35 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 4a7e5f2cbb23 -r 853bc758cb19 schema/VSMigrationCapabilities.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationCapabilities.registration Tue Dec 04 08:53:35 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 4a7e5f2cbb23 -r 853bc758cb19 src/Makefile.am
--- a/src/Makefile.am Tue Dec 04 08:53:32 2007 -0800
+++ b/src/Makefile.am Tue Dec 04 08:53:35 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