# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1202246831 28800
# Node ID 4299c8dc5291bd6922e27dbd34e6ef6ecc67c49b
# Parent ef8484e9a30f5940653b0641d0bc2a72a780ed72
Add necessary pieces to build Virt_VSMigrationSettingData.c
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r ef8484e9a30f -r 4299c8dc5291 Makefile.am
--- a/Makefile.am Tue Feb 05 13:27:09 2008 -0800
+++ b/Makefile.am Tue Feb 05 13:27:11 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 ef8484e9a30f -r 4299c8dc5291 schema/VSMigrationSettingData.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationSettingData.mof Tue Feb 05 13:27:11 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 ef8484e9a30f -r 4299c8dc5291 schema/VSMigrationSettingData.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/VSMigrationSettingData.registration Tue Feb 05 13:27:11 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 ef8484e9a30f -r 4299c8dc5291 src/Makefile.am
--- a/src/Makefile.am Tue Feb 05 13:27:09 2008 -0800
+++ b/src/Makefile.am Tue Feb 05 13:27:11 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
+