On 09/06/2015 12:08, Igor Mammedov wrote:
> 
> 3. until #2 is done we can't allow to map another memory region in
>    current flatview at the same range, hence need to keep list of
>    still active HVA ranges so we could check at memory_region_add_subregion()
>    time that new mapping is allowed. => adding "Error **errp"
>    to memory_region_add_subregion() for reporting fail.

No, we cannot do that.  memory_region_add_subregion cannot fail.  The
RCU mechanism is transparent.

Paolo

Reply via email to