From: "Jan Beulich" Subject: Re: [PATCH RFC v12 05/21] Introduce pv guest type and has_hvm_container macros Date: Fri, 20 Sep 2013 10:44:00 +0100 Message-ID: <523C350002000078000F4DD7@nat28.tlf.novell.com> References: <1379089521-25720-1-git-send-email-george.dunlap@eu.citrix.com> <1379089521-25720-6-git-send-email-george.dunlap@eu.citrix.com> <5239CAD002000078000F4616@nat28.tlf.novell.com> <523B2609.7030809@eu.citrix.com> <523C1F3502000078000F4D51@nat28.tlf.novell.com> <523C141B.9040103@eu.citrix.com> 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 1VMxFX-0002yX-3y for xen-devel@lists.xenproject.org; Fri, 20 Sep 2013 09:43:43 +0000 In-Reply-To: <523C141B.9040103@eu.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: George Dunlap Cc: xen-devel , Keir Fraser , Tim Deegan List-Id: xen-devel@lists.xenproject.org >>> On 20.09.13 at 11:23, George Dunlap wrote: > What I meant was, do_page_walk() already had a conditional at the top to > return NULL if is_hvm_domain() was true, and callers should all be > written to handle that case. If we change that to if(!is_pv_domain()) > (which should probably be done anyway), then for PVH domains we'll get a > stack for v==current, but not for others. do_page_walk() can be extended > for PVH domains at some point in the future. Oh, right, I should have checked... So after all I agree. Jan