From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v2 3/4] libxc: stop migration in case of p2m list structural changes Date: Tue, 15 Dec 2015 11:55:01 +0000 Message-ID: <566FFF95.4070100@citrix.com> References: <1450161239-6120-1-git-send-email-jgross@suse.com> <1450161239-6120-4-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1450161239-6120-4-git-send-email-jgross@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Juergen Gross , xen-devel@lists.xen.org, Ian.Campbell@citrix.com, ian.jackson@eu.citrix.com, stefano.stabellini@eu.citrix.com, wei.liu2@citrix.com List-Id: xen-devel@lists.xenproject.org On 15/12/15 06:33, Juergen Gross wrote: > With support of the virtual mapped linear p2m list for migration it is > now possible to detect structural changes of the p2m list which before > would either lead to a crashing or otherwise wrong behaving domU. > > A guest supporting the linear p2m list will increment the > p2m_generation counter located in the shared info page before and after > each modification of a mapping related to the p2m list. A change of > that counter can be detected by the tools and reacted upon. > > As such a change should occur only very rarely once the domU is up the > most simple reaction is to cancel migration in such an event. > > Signed-off-by: Juergen Gross Reviewed-by: Andrew Cooper