# HG changeset patch
# User Zhengang Li <lizg(a)cn.ibm.com>
# Date 1196763876 -28800
# Node ID 7dbad83883a3f5eaeedac4e415a97fb459ec50e5
# Parent 7fd4f296b8cc328a7492a24c731d8722bc485452
Fix typos for disk & network classes in SDC SD & EAFP
*_LogicalDisk & *_NetworkPort classes are typo-ed as *_Disk & *_Network
in several assoc classes' handler param. This leads to some assoc failure.
Signed-off-by: Zhengang Li <lizg(a)cn.ibm.com>
diff -r 7fd4f296b8cc -r 7dbad83883a3 src/Virt_ElementAllocatedFromPool.c
--- a/src/Virt_ElementAllocatedFromPool.c Mon Dec 03 13:35:16 2007 +0100
+++ b/src/Virt_ElementAllocatedFromPool.c Tue Dec 04 18:24:36 2007 +0800
@@ -279,12 +279,12 @@ char* dependent[] = {
char* dependent[] = {
"Xen_Processor",
"Xen_Memory",
- "Xen_Network",
- "Xen_Disk",
+ "Xen_NetworkPort",
+ "Xen_LogicalDisk",
"KVM_Processor",
"KVM_Memory",
- "KVM_Network",
- "KVM_Disk",
+ "KVM_NetworkPort",
+ "KVM_LogicalDisk",
NULL
};
diff -r 7fd4f296b8cc -r 7dbad83883a3 src/Virt_SettingsDefineState.c
--- a/src/Virt_SettingsDefineState.c Mon Dec 03 13:35:16 2007 +0100
+++ b/src/Virt_SettingsDefineState.c Tue Dec 04 18:24:36 2007 +0800
@@ -304,12 +304,12 @@ char* logical_device[] = {
char* logical_device[] = {
"Xen_Processor",
"Xen_Memory",
- "Xen_Network",
- "Xen_Disk",
+ "Xen_NetworkPort",
+ "Xen_LogicalDisk",
"KVM_Processor",
"KVM_Memory",
- "KVM_Network",
- "KVM_Disk",
+ "KVM_NetworkPort",
+ "KVM_LogicalDisk",
NULL
};
diff -r 7fd4f296b8cc -r 7dbad83883a3 src/Virt_SystemDevice.c
--- a/src/Virt_SystemDevice.c Mon Dec 03 13:35:16 2007 +0100
+++ b/src/Virt_SystemDevice.c Tue Dec 04 18:24:36 2007 +0800
@@ -241,12 +241,12 @@ char* part_component[] = {
char* part_component[] = {
"Xen_Processor",
"Xen_Memory",
- "Xen_Network",
- "Xen_Disk",
+ "Xen_NetworkPort",
+ "Xen_LogicalDisk",
"KVM_Processor",
"KVM_Memory",
- "KVM_Network",
- "KVM_Disk",
+ "KVM_NetworkPort",
+ "KVM_LogicalDisk",
NULL
};