On 26/03/2015 17:42, Igor Mammedov wrote:
> + mdevid = object_property_get_str(OBJECT(dimm->hostmem), "id",
> + &error_abort);
> + mdevpath = g_strdup_printf("/objects/%s", mdevid);
> + g_free(mdevid);
> + mdev = object_resolve_path_type(mdevpath, TYPE_MEMORY_BACKEND,
> + NULL);You can add a backend with id xyz, remove it, and add another with the same id, right? I think the can_be_deleted solution is better and not more invasive, even for 2.3. Paolo
