[Libvirt-cim] [PATCH 2 of 2] Update SettingsDefineCapabilities so that it supports VSMigrationSettingData
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Tue Feb 5 22:12:11 UTC 2008
Kaitlin Rupert wrote:
}
>
> +static CMPIStatus migrate_cap_to_vsmvs(const CMPIObjectPath *ref,
> + struct std_assoc_info *info,
> + struct inst_list *list)
> +{
> + CMPIStatus s = {CMPI_RC_OK};
> + CMPIInstance *inst;
> +
> + if (!match_hypervisor_prefix(ref, info))
> + return s;
> +
> + s = get_migration_caps(ref, &inst, _BROKER);
> + if (s.rc != CMPI_RC_OK)
> + goto out;
get_migration_cap() currently doesn't validate the keys of the reference.
I've seen a lot of ref validation fixes from Heidi, and so I don't work
up a colliding patch. If no one is working on this, I can look into it.
Thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list