# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1202312788 28800
# Node ID 55a390d37b3f3fd2a1372198ed6e6740a328ee99
# Parent 031e213e496178a7fc82ce1ca895a28bc223fdf6
Add necessary pieces to build Virt_VSMigrationSettingData.c
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 031e213e4961 -r 55a390d37b3f Makefile.am
--- a/Makefile.am Wed Feb 06 07:46:25 2008 -0800
+++ b/Makefile.am Wed Feb 06 07:46:28 2008 -0800
@@ -35,7 +35,8 @@ MOFS = \
schema/HostedService.mof \
schema/ElementSettingData.mof \
schema/VSMigrationCapabilities.mof \
- schema/VSMigrationService.mof
+ schema/VSMigrationService.mof \
+ schema/VSMigrationSettingData.mof
INTEROP_MOFS = \
schema/ComputerSystem.mof \
@@ -77,7 +78,8 @@ REGS = \
schema/ElementSettingData.registration \
schema/VSMigrationCapabilities.registration \
schema/VSMigrationService.registration \
- schema/ElementConformsToProfile.registration
+ schema/ElementConformsToProfile.registration \
+ schema/VSMigrationSettingData.registration
INTEROP_REGS = \
schema/RegisteredProfile.registration \
@@ -109,4 +111,5 @@ clean-local:
clean-local:
rm -f $(find . -name "*.orig")
rm -f $(find . -name "*.rej")
- rm -f $(find . -name "*~")
\ No newline at end of file
+ rm -f $(find . -name "*~")
+
diff -r 031e213e4961 -r 55a390d37b3f schema/VSMigrationSettingData.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationSettingData.mof Wed Feb 06 07:46:28 2008 -0800
@@ -0,0 +1,15 @@
+// Copyright IBM Corp. 2007
+
+class CIM_VirtualSystemMigrationSettingData : CIM_SettingData {
+ uint16 MigrationType;
+
+ uint16 Priority;
+};
+
+[Provider("cmpi::Virt_VSMigrationSettingData")]
+class Xen_VirtualSystemMigrationSettingData : CIM_VirtualSystemMigrationSettingData {
+};
+
+[Provider("cmpi::Virt_VSMigrationSettingData")]
+class KVM_VirtualSystemMigrationSettingData : CIM_VirtualSystemMigrationSettingData {
+};
diff -r 031e213e4961 -r 55a390d37b3f schema/VSMigrationSettingData.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationSettingData.registration Wed Feb 06 07:46:28 2008 -0800
@@ -0,0 +1,4 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_VirtualSystemMigrationSettingData root/virt Virt_VSMigrationSettingData
Virt_VSMigrationSettingData instance
+KVM_VirtualSystemMigrationSettingData root/virt Virt_VSMigrationSettingData
Virt_VSMigrationSettingData instance
diff -r 031e213e4961 -r 55a390d37b3f src/Makefile.am
--- a/src/Makefile.am Wed Feb 06 07:46:25 2008 -0800
+++ b/src/Makefile.am Wed Feb 06 07:46:28 2008 -0800
@@ -53,7 +53,8 @@ provider_LTLIBRARIES = libVirt_ComputerS
libVirt_HostedService.la \
libVirt_ElementSettingData.la \
libVirt_VSMigrationCapabilities.la \
- libVirt_VSMigrationService.la
+ libVirt_VSMigrationService.la \
+ libVirt_VSMigrationSettingData.la
libVirt_ComputerSystem_la_SOURCES = Virt_ComputerSystem.c
libVirt_Device_la_SOURCES = Virt_Device.c
@@ -150,3 +151,5 @@ libVirt_VSMigrationService_la_SOURCES =
libVirt_VSMigrationService_la_SOURCES = Virt_VSMigrationService.c
libVirt_VSMigrationService_la_LIBADD = -lVirt_HostSystem
+libVirt_VSMigrationSettingData_la_SOURCES = Virt_VSMigrationSettingData.c
+