Re: [Xen-devel] [PATCH for-next v3 07/12] x86/domain: factor out pv_domain_destroy

2017-04-28 Thread Jan Beulich
>>> On 26.04.17 at 17:54, wrote: > Now this function also frees the perdomain mapping. It is safe to do so > because destroy_perdomain_mapping is idempotent. > > Move free_perdomain_mappings after pv_domain_destroy. It is safe to do > so because both destroy_perdomain_mapping and free_perdomain_m

[Xen-devel] [PATCH for-next v3 07/12] x86/domain: factor out pv_domain_destroy

2017-04-26 Thread Wei Liu
Now this function also frees the perdomain mapping. It is safe to do so because destroy_perdomain_mapping is idempotent. Move free_perdomain_mappings after pv_domain_destroy. It is safe to do so because both destroy_perdomain_mapping and free_perdomain_mappings are idempotent. Signed-off-by: Wei