On 08/07/2015 16:58, Igor Mammedov wrote: > I'll drop this patch in favor of dedicated > memory_region_add_subregion_to_hva() API that can fail and return error.
Isn't the deletion of subregion that is done too early for your work? You don't want the hot-unplug to complete until all the address_space_unmaps have completed, if I understand correctly. Paolo