Kaitlin Rupert wrote:
# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1242841306 25200
# Node ID aa8e071730d2ce20064f1c0295a8005e31ef2cea
# Parent 10e45fca47f0d19eddcf7bb1559ba9e7397aea24
A few schema cleanups after migrating from 2.16 to 2.21
Fixes:
-CIM_HostedResourcePool is needed in cimv2 to register Virt_HostedResourcePool
as a cross-namespace provider
-Implementation specific VirtualSystemSnapshotService should be a subclass of
CIM_VirtualSystemSnapshotService, not Virt_VirtualSystemSnapshotService
-CIM_VirtualSystemMigrationSettingData.mof and
CIM_VirtualSystemMigrationService.mof are needed in interop to properly
register ECTP asa cross-namespace provider
CIM_VirtualSystemMigrationSettingData is not accessible in the interop
namespace.
To test I did a query for the aforementioned provider in the
root/interop space:
wbemcli ein
'http://localhost:5988/root/interop:CIM_VirtualSystemMigrationSettingData'
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 10e45fca47f0 -r aa8e071730d2 base_schema/cimv2.21.0-cimv2_mof
--- a/base_schema/cimv2.21.0-cimv2_mof Mon May 18 16:39:20 2009 -0700
+++ b/base_schema/cimv2.21.0-cimv2_mof Wed May 20 10:41:46 2009 -0700
@@ -9,3 +9,4 @@
#pragma include ("Core/CIM_HostedResourcePool.mof")
#pragma include ("Core/CIM_ElementCapabilities.mof")
#pragma include ("Core/CIM_HostedService.mof")
+#pragma include ("Core/CIM_HostedResourcePool.mof")
diff -r 10e45fca47f0 -r aa8e071730d2 base_schema/cimv2.21.0-interop_mof
--- a/base_schema/cimv2.21.0-interop_mof Mon May 18 16:39:20 2009 -0700
+++ b/base_schema/cimv2.21.0-interop_mof Wed May 20 10:41:46 2009 -0700
@@ -26,3 +26,5 @@
#pragma include ("Core/CIM_ResourcePool.mof")
#pragma include ("Core/CIM_Capabilities.mof")
#pragma include ("Core/CIM_AllocationCapabilities.mof")
+#pragma include ("System/CIM_VirtualSystemMigrationSettingData.mof")
+#pragma include ("System/CIM_VirtualSystemMigrationService.mof")
diff -r 10e45fca47f0 -r aa8e071730d2 schema/VirtualSystemSnapshotService.mof
--- a/schema/VirtualSystemSnapshotService.mof Mon May 18 16:39:20 2009 -0700
+++ b/schema/VirtualSystemSnapshotService.mof Wed May 20 10:41:46 2009 -0700
@@ -1,5 +1,5 @@
// Copyright IBM Corp. 2008
-class Xen_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };
-class KVM_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };
-class LXC_VirtualSystemSnapshotService : Virt_VirtualSystemSnapshotService { };
+class Xen_VirtualSystemSnapshotService : CIM_VirtualSystemSnapshotService { };
+class KVM_VirtualSystemSnapshotService : CIM_VirtualSystemSnapshotService { };
+class LXC_VirtualSystemSnapshotService : CIM_VirtualSystemSnapshotService { };
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim
--
Richard Maciel, MSc
IBM Linux Technology Center
rmaciel(a)linux.vnet.ibm.com