From: "Jan Beulich" Subject: Re: struct paging_mode's {write, cmpxchg}_guest_entry and guest_{map, get_eff}_l1e Date: Tue, 27 Oct 2015 09:10:57 -0600 Message-ID: <562FA21102000078000AF32F@prv-mh.provo.novell.com> References: <561F864E02000078000AB436@prv-mh.provo.novell.com> <20151015093931.GA39600@deinos.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zr5tw-0000Ua-5I for xen-devel@lists.xenproject.org; Tue, 27 Oct 2015 15:11:04 +0000 In-Reply-To: <20151015093931.GA39600@deinos.phlegethon.org> 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: Tim Deegan Cc: George Dunlap , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 15.10.15 at 11:39, wrote: > At 02:56 -0600 on 15 Oct (1444877774), Jan Beulich wrote: >> what's the reason that these aren't in struct shadow_paging_mode >> instead? They're only being used by shadow code, and I can't see >> an abstract reason why HAP would ever want to use them. > > That seems fair. In fact AFAICT they're only called for > _translated-mode_ PV guests! > > So we should just refuse to enter a translated-but-not-external paging > mode, since that's not maintained and almost certainly doesn't work, > and then these hooks can go away entirely. Looking more closely, I think this is true for the latter two (in the subject), but not the former two (and indeed migration triggers them). Jan