WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Switching from writeable pagetable toshadowlog-dirtyat r

To: "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx>
Subject: RE: [Xen-devel] Switching from writeable pagetable toshadowlog-dirtyat runtime
From: Khoa Huynh <khoa@xxxxxxxxxx>
Date: Fri, 14 Oct 2005 17:28:45 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 14 Oct 2005 22:26:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D5D6EDB5B0FA7049BCDC1F4DB70161EF0244637B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
"Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx> wrote on 10/14/2005 04:43:07 AM:

>
> Keir,
> We found that in 32-bit code, the shadow_fault() do one more thing
> than 64-bit code.
> The following code in file shadow32.c checks the L1 page table with
> RW bit removed and make the shadow with RW bit, it does not inject
> the fault to guest.
> Does this is a work-around for switch from writable pagetable to
> shadow mode enable?
> Does this code makes sense to the writeable pagetable, and then may
> be one reason that 32bit log-dirty code can work?
>

I don't think we use log-dirty shadow mode - at least when setting up
VMX domains; we only use shadow translate and external modes.  See
vmx_final_setup_guest() in xen/arch/x86/domain.c.  I searched through
the code for 32-bit x86, and I don't recall ever seeing this log-dirty
mode be enabled.  When should we use log-dirty shadow mode ?
Thanks.

Khoa


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>