From: Tim Deegan Subject: Re: struct paging_mode's {write, cmpxchg}_guest_entry and guest_{map, get_eff}_l1e Date: Thu, 15 Oct 2015 10:39:31 +0100 Message-ID: <20151015093931.GA39600@deinos.phlegethon.org> References: <561F864E02000078000AB436@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zmf0b-00059h-8h for xen-devel@lists.xenproject.org; Thu, 15 Oct 2015 09:39:37 +0000 Content-Disposition: inline In-Reply-To: <561F864E02000078000AB436@prv-mh.provo.novell.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: Jan Beulich Cc: George Dunlap , xen-devel List-Id: xen-devel@lists.xenproject.org At 02:56 -0600 on 15 Oct (1444877774), Jan Beulich wrote: > Tim, George, > > 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. Cheers, Tim.