# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198069815 -3600
# Node ID d7113a165bab3e14235dff949cdf3bad60bb3541
# Parent fe073ec5963b78bd16ed13d54c793e355069921f
VirtualSystemMigrationCapabilities: OpenWbem support
- rename provider from VSMC to VSMigrationCapabilities
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r fe073ec5963b -r d7113a165bab schema/VSMigrationCapabilities.mof
--- a/schema/VSMigrationCapabilities.mof Wed Dec 19 14:10:15 2007 +0100
+++ b/schema/VSMigrationCapabilities.mof Wed Dec 19 14:10:15 2007 +0100
@@ -10,8 +10,10 @@ class Virt_VirtualSystemMigrationCapabil
};
+[Provider("cmpi::Virt_VSMigrationCapabilities")]
class Xen_VirtualSystemMigrationCapabilities : Virt_VirtualSystemMigrationCapabilities {
};
+[Provider("cmpi::Virt_VSMigrationCapabilities")]
class KVM_VirtualSystemMigrationCapabilities : Virt_VirtualSystemMigrationCapabilities {
};
diff -r fe073ec5963b -r d7113a165bab schema/VSMigrationCapabilities.registration
--- a/schema/VSMigrationCapabilities.registration Wed Dec 19 14:10:15 2007 +0100
+++ b/schema/VSMigrationCapabilities.registration Wed Dec 19 14:10:15 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_VirtualSystemMigrationCapabilities root/virt Virt_VSMC Virt_VSMigrationCapabilities
instance
-KVM_VirtualSystemMigrationCapabilities root/virt Virt_VSMC Virt_VSMigrationCapabilities
instance
\ No newline at end of file
+Xen_VirtualSystemMigrationCapabilities root/virt Virt_VSMigrationCapabilities
Virt_VSMigrationCapabilities instance
+KVM_VirtualSystemMigrationCapabilities root/virt Virt_VSMigrationCapabilities
Virt_VSMigrationCapabilities instance
\ No newline at end of file
diff -r fe073ec5963b -r d7113a165bab src/Virt_VSMigrationCapabilities.c
--- a/src/Virt_VSMigrationCapabilities.c Wed Dec 19 14:10:15 2007 +0100
+++ b/src/Virt_VSMigrationCapabilities.c Wed Dec 19 14:10:15 2007 +0100
@@ -177,7 +177,8 @@ DEFAULT_EQ();
DEFAULT_EQ();
DEFAULT_INST_CLEANUP();
-STD_InstanceMIStub(, Virt_VSMC,
+STD_InstanceMIStub(,
+ Virt_VSMigrationCapabilities,
_BROKER,
libvirt_cim_init());