From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH v3 3/4] libxc: stop migration in case of p2m list structural changes Date: Wed, 6 Jan 2016 15:40:14 +0000 Message-ID: <20160106154014.GK27789@citrix.com> References: <1450257860-11389-1-git-send-email-jgross@suse.com> <1450257860-11389-4-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1450257860-11389-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 Cc: wei.liu2@citrix.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Dec 16, 2015 at 10:24:19AM +0100, 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 Reviewed-by: Wei Liu