From: Tim Deegan Subject: Re: Migration memory corruption - PV backends need to quiesce Date: Mon, 30 Jun 2014 13:08:10 +0200 Message-ID: <20140630110810.GC59717@deinos.phlegethon.org> References: <53ADA10D.8030206@citrix.com> <1404117494.3827.8.camel@kazak.uk.xensource.com> <53B1324F.1090304@citrix.com> <20140630101422.GA59717@deinos.phlegethon.org> <1404126084.14488.6.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1404126084.14488.6.camel@kazak.uk.xensource.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: Ian Campbell Cc: Andrew Cooper , Ian Jackson , Xen-devel List , Paul Durrant , David Vrabel , Jan Beulich List-Id: xen-devel@lists.xenproject.org At 12:01 +0100 on 30 Jun (1404126084), Ian Campbell wrote: > On Mon, 2014-06-30 at 12:14 +0200, Tim Deegan wrote: > > Yes. The (suggested) problem is that live migration does not preserve > > that write ordering. So we have to worry about something like this: > > > > 1. Toolstack pauses the domain for the final pass. Reads the final > > LGD bitmap, which happens to include the shared ring but not the > > data pages. > > WRT this -- writes by the backend don't cause the page to become dirty. > What about writes by the f.e? Are pages which are granted and actively > mapped by another domain handled as normal guest RAM pages for the > purposes of logdirty or are they handle specially? They're handled as normal RAM, so yes f/e writes will mark that page dirty. Tim.