# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1202402210 28800
# Node ID c7c549e7c93bc757c6a5db1cb52e1375b9199c34
# Parent ddcfb601c4798a29ae70cfc8c68f49a83427daa6
Add necessary pieces to build Virt_VSMigrationSettingData.c
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r ddcfb601c479 -r c7c549e7c93b Makefile.am
--- a/Makefile.am Thu Feb 07 08:34:08 2008 -0800
+++ b/Makefile.am Thu Feb 07 08:36:50 2008 -0800
@@ -36,7 +36,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 \
@@ -79,7 +80,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 \
@@ -112,3 +114,4 @@ clean-local:
rm -f $(find . -name "*.orig")
rm -f $(find . -name "*.rej")
rm -f $(find . -name "*~")
+
diff -r ddcfb601c479 -r c7c549e7c93b schema/VSMigrationSettingData.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationSettingData.mof Thu Feb 07 08:36:50 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 ddcfb601c479 -r c7c549e7c93b schema/VSMigrationSettingData.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationSettingData.registration Thu Feb 07 08:36:50 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 ddcfb601c479 -r c7c549e7c93b src/Makefile.am
--- a/src/Makefile.am Thu Feb 07 08:34:08 2008 -0800
+++ b/src/Makefile.am Thu Feb 07 08:36:50 2008 -0800
@@ -54,7 +54,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
@@ -155,3 +156,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
+