From: Ian Campbell Subject: Re: [PATCH RFC] xen: arm: use uncached foreign mappings when building guests Date: Mon, 6 Jan 2014 10:05:10 +0000 Message-ID: <1389002710.13274.26.camel@kazak.uk.xensource.com> References: <1387387710.28680.88.camel@kazak.uk.xensource.com> <52B1EC43.7030408@cantab.net> <1387447808.9925.24.camel@kazak.uk.xensource.com> <52C5815C.5020908@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52C5815C.5020908@citrix.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: David Vrabel Cc: Julien Grall , Ian Jackson , Tim Deegan , xen-devel , David Vrabel , Stefano.Stabellini@citrix.com, Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org On Thu, 2014-01-02 at 15:10 +0000, David Vrabel wrote: > > We basically only support guests running without caches at start of day. > > We expect and require them to come up and enable caches and then keep > > them enabled. Fortunately this is normal practice... > > There is still a (small) window where a guest is running with caches > disabled and it may be saved/migrated at this point. Is this a concern? I don't think so, if nothing else while the guest has caches disabled it is so early that it is mostly certainly not watching the xenbus control node. I suppose we might theoretically start a live migration right after boot and iterate until caches were enabled, but with stale pages in the save image (those which didn't change since boot). There's a large dollop of "don't do that then" but probably the migration code should check that caches are enabled as one of the first things it does. Ian.