From: Keir Fraser Subject: Re: VMASST_TYPE_writable_pagetables on translated domains? Date: Fri, 27 Apr 2007 09:36:33 +0100 Message-ID: References: <4631D0D3.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4631D0D3.76E4.0078.0@novell.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: Jan Beulich , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 27/4/07 09:30, "Jan Beulich" wrote: > Isn't the writeable page table support intended only for non-translated > domains? > If so, shouldn't fixup_page_fault() check for this, or the setting of the > assist bit > and the PG_translate be respectively validated? If not, aren't there bits > missing > in ptwr_do_page_fault()? I think we've been here before. :-) Current shadow code supports translated domains only in shadow-mode-refcount configuration (which also implies shadow-mode-external, and hence hvm too, as it happens). In light of this there is quite some scope for simplification and rationalisation in arch/x86/mm.c. -- Keir