From: Keir Fraser Subject: Re: Live migration with MMIO pages Date: Wed, 31 Oct 2007 18:23:35 +0000 Message-ID: References: <20071031173126.GA15566@york.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20071031173126.GA15566@york.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 31/10/07 17:31, "Tim Deegan" wrote: > For HVM guests we let that pass if the GFN is known to be acceptable > MMIO (by its p2m type). There needs to be an equivalent get-out here > for PV guests -- iomem_access_permitted(d, mfn_x(gmfn), mfn_x(gmfn)) > should do. We shouldn't really need to do a iomem_access_permitted() check here. If this is a PV guest then the access check was made when the guest pagetable was validated. We can just circumvent these checks entirely for PV guests. -- Keir