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: Never mind Re: [Xen-devel] Re: Xen reboots when trying to start new

To: Jacob Gorm Hansen <jacob@xxxxxxxx>
Subject: Re: Never mind Re: [Xen-devel] Re: Xen reboots when trying to start new domain
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 10 Sep 2004 15:19:20 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 10 Sep 2004 15:24:06 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 10 Sep 2004 14:35:34 +0200." <41419F96.3090106@xxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> When do the changes to the ptes take effect? How does Xen enforce 
> security in this case? My guess would be to detach the leaf table from 
> the page directory, and reattach and check it on demand at first fault. 
> Is this correct? Does Xen keep shadow copies of all pgds then, or only 
> the currently active one? Sounds clever.

You just described version 1 of writable pagetables. In v2, when the
guest tries to write his pagetable we instead give him write access to
a copy of that table. Then, next time he TLB flushes, or the guest
faults on the VA area that th eupdated p.t. maps, we validate any
modifications and copy them back into the real p.t. This means there
is no need to unlink the real p.t. at any point.

 -- Keir


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Never mind Re: [Xen-devel] Re: Xen reboots when trying to start new domain, Keir Fraser <=