# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182624 -3600
# Node ID a6900f337fe25b346b2e07ec7d0357baa45f2b74
# Parent 96a7589df350e3fc1d258f037f3cd58edab7fd5b
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 96a7589df350 -r a6900f337fe2 schema/VSMigrationCapabilities.mof
--- a/schema/VSMigrationCapabilities.mof Thu Dec 20 21:30:24 2007 +0100
+++ b/schema/VSMigrationCapabilities.mof Thu Dec 20 21:30:24 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 96a7589df350 -r a6900f337fe2 schema/VSMigrationCapabilities.registration
--- a/schema/VSMigrationCapabilities.registration Thu Dec 20 21:30:24 2007 +0100
+++ b/schema/VSMigrationCapabilities.registration Thu Dec 20 21:30:24 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 96a7589df350 -r a6900f337fe2 src/Virt_VSMigrationCapabilities.c
--- a/src/Virt_VSMigrationCapabilities.c Thu Dec 20 21:30:24 2007 +0100
+++ b/src/Virt_VSMigrationCapabilities.c Thu Dec 20 21:30:24 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());