Kaitlin Rupert wrote:
+static CMPIStatus return_vsmsd(const CMPIObjectPath *ref,
+ const CMPIResult *results,
+ bool name_only,
+ bool is_get_inst)
+{
+ CMPIInstance *inst = NULL;
+ CMPIStatus s;
+
+ s = get_migration_sd(ref, &inst, _BROKER, is_get_inst);
This is seg faulting the provider for a request against Xen on a KVM
only system (and reverse). The reason is that get_migration_sd() returns
with OK but no instances for Xen. This inst==NULL seg faults the
following returns.
+
+ if (s.rc == CMPI_RC_OK) {
+ if (name_only)
+ cu_return_instance_name(results, inst);
+ else
+ CMReturnInstance(results, inst);
+ }
+
+ return s;
+}
+
--
Regards
Heidi Eckhart
Software Engineer
IBM Linux Technology Center - Open Hypervisor