# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1221241931 25200
# Node ID ac88d6e29e5adea93c5cfba489bdd6a5b4904521
# Parent e4e78fce79575db03c1629d625a53ec13f33992b
(#2) Schema and Makefile changes for the RedirectionService
Change RedirectionService subclass name from RedirecitonService to
ConsoleRedirectionService.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r e4e78fce7957 -r ac88d6e29e5a Makefile.am
--- a/Makefile.am Fri Sep 05 11:55:57 2008 -0700
+++ b/Makefile.am Fri Sep 12 10:52:11 2008 -0700
@@ -42,7 +42,8 @@
schema/VSMigrationSettingData.mof \
schema/VirtualSystemSnapshotService.mof \
schema/VirtualSystemSnapshotServiceCapabilities.mof \
- schema/ConcreteComponent.mof
+ schema/ConcreteComponent.mof \
+ schema/ConsoleRedirectionService.mof
INTEROP_MOFS = \
schema/ComputerSystem.mof \
@@ -90,7 +91,8 @@
schema/VSMigrationSettingData.registration \
schema/VirtualSystemSnapshotService.registration \
schema/VirtualSystemSnapshotServiceCapabilities.registration \
- schema/ConcreteComponent.registration
+ schema/ConcreteComponent.registration \
+ schema/ConsoleRedirectionService.registration
INTEROP_REGS = \
schema/RegisteredProfile.registration \
diff -r e4e78fce7957 -r ac88d6e29e5a schema/ConsoleRedirectionService.mof
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/ConsoleRedirectionService.mof Fri Sep 12 10:52:11 2008 -0700
@@ -0,0 +1,16 @@
+// Copyright IBM Corp. 2007
+
+[Provider("cmpi::Virt_RedirectionService")]
+class Xen_ConsoleRedirectionService : CIM_RedirectionService
+{
+};
+
+[Provider("cmpi::Virt_RedirectionService")]
+class KVM_ConsoleRedirectionService : CIM_RedirectionService
+{
+};
+
+[Provider("cmpi::Virt_RedirectionService")]
+class LXC_ConsoleRedirectionService : CIM_RedirectionService
+{
+};
diff -r e4e78fce7957 -r ac88d6e29e5a schema/ConsoleRedirectionService.registration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/ConsoleRedirectionService.registration Fri Sep 12 10:52:11 2008 -0700
@@ -0,0 +1,5 @@
+# Copyright IBM Corp. 2007
+# Classname Namespace ProviderName ProviderModule ProviderTypes
+Xen_ConsoleRedirectionService root/virt Virt_RedirectionService Virt_RedirectionService
method instance
+KVM_ConsoleRedirectionService root/virt Virt_RedirectionService Virt_RedirectionService
method instance
+LXC_ConsoleRedirectionService root/virt Virt_RedirectionService Virt_RedirectionService
method instance
diff -r e4e78fce7957 -r ac88d6e29e5a src/Makefile.am
--- a/src/Makefile.am Fri Sep 05 11:55:57 2008 -0700
+++ b/src/Makefile.am Fri Sep 12 10:52:11 2008 -0700
@@ -54,6 +54,7 @@
libVirt_ResourcePoolConfigurationService.la \
libVirt_ResourcePoolConfigurationCapabilities.la \
libVirt_VSMigrationService.la \
+ libVirt_RedirectionService.la \
libVirt_SettingsDefineCapabilities.la \
libVirt_HostedDependency.la \
libVirt_ElementConformsToProfile.la \
@@ -191,3 +192,8 @@
libVirt_ConcreteComponent_la_DEPENDENCIES = libVirt_HostSystem.la libVirt_DevicePool.la
libVirt_ConcreteComponent_la_SOURCES = Virt_ConcreteComponent.c
libVirt_ConcreteComponent_la_LIBADD = -lVirt_HostSystem -lVirt_DevicePool
+
+libVirt_RedirectionService_la_DEPENDENCIES = libVirt_HostSystem.la
+libVirt_RedirectionService_la_SOURCES = Virt_RedirectionService.c
+libVirt_RedirectionService_la_LIBADD = -lVirt_HostSystem
+