From: "Jan Beulich" Subject: Re: [xen-unstable test] 56456: regressions - FAIL Date: Mon, 18 May 2015 12:19:30 +0100 Message-ID: <5559E6E2020000780007B02C@mail.emea.novell.com> References: <55572DDC.8050306@citrix.com> <5559C03C020000780007AF3A@mail.emea.novell.com> <20150518101759.GA94471@deinos.phlegethon.org> <5559C40A.2020106@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YuJR4-00015d-9b for xen-devel@lists.xenproject.org; Mon, 18 May 2015 11:42:18 +0000 In-Reply-To: <5559C40A.2020106@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?UTF-8?Q?Roger=20Pau=20Monn=C3=A9?= , Tim Deegan Cc: AndrewCooper , ian.jackson@eu.citrix.com, xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 18.05.15 at 12:50, wrote: > El 18/05/15 a les 12.17, Tim Deegan ha escrit: >> - have map_dirty_bitmap() DTRT, with something like access_ok() + >> a linear-pagetable lookup to find the frame. > > That was my first intention, but AFAICT we have no function in tree to > resolve a PV guest VA into a GFN/MFN. The closest thing I could find was > using guest_walk_tables + guest_walk_to_gfn in order to obtain the gfn. > Should I send a patch to introduce a pv_gva_to_gfn function based on that? Isn't that what we have the linear page table and guest_map_l1e() for? Jan