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] Is there a way to add GDT entries without having a secon

To: Kip Macy <kip.macy@xxxxxxxxx>
Subject: Re: [Xen-devel] Is there a way to add GDT entries without having a second page?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 6 May 2005 07:10:10 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 06 May 2005 06:12:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b1fa2917050505175069ca1768@xxxxxxxxxxxxxx>
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>
References: <b1fa2917050505175069ca1768@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 6 May 2005, at 01:50, Kip Macy wrote:

I can add entries incrementally to the GDT by having a second page
frame lying around copying from the current one to the unused one and
then switching between them for updates, but is there a more elegant
way?

What's the problem? You want a 'writable GDT'? This is very doable since we have the emulator, but in Linux it was not hard to patch the places that write to the GDT to do a hypercall instead.

 -- Keir


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

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