[Libvirt-cim] [PATCH] Make SDC not return UNSUPPORTED for the rasd_to_alloc_cap case

Dan Smith danms at us.ibm.com
Wed Sep 10 17:19:45 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1221066318 25200
# Node ID 86aa60d7eb8c85c8ebeab009c231b9abe1afe156
# Parent  6a8e14dc94847ac449a65a28f83e6f8ee2b22fbd
Make SDC not return UNSUPPORTED for the rasd_to_alloc_cap case

Pegasus treats this as a soft error and ignores it, but SFCB halts
the entire association process (as would probably be expected).

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r 6a8e14dc9484 -r 86aa60d7eb8c src/Virt_SettingsDefineCapabilities.c
--- a/src/Virt_SettingsDefineCapabilities.c	Wed Sep 10 09:27:39 2008 -0700
+++ b/src/Virt_SettingsDefineCapabilities.c	Wed Sep 10 10:05:18 2008 -0700
@@ -1002,7 +1002,7 @@
                                     struct std_assoc_info *info,
                                     struct inst_list *list)
 {
-        RETURN_UNSUPPORTED();
+        return (CMPIStatus){CMPI_RC_OK, NULL};
 }
 
 static CMPIStatus migrate_cap_to_vsmsd(const CMPIObjectPath *ref,




More information about the Libvirt-cim mailing list