From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Kelly Subject: Re: Updating built-in GDT Date: Tue, 24 Jan 2006 11:47:23 +0000 Message-ID: <20060124114702.GA3551@ivankelly.net> References: <20060123180155.GB6749@ivankelly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Jan 24, 2006 at 11:35:05AM +0000, Keir Fraser wrote: > You can't update the built-in GDT. Instead, create your own and pass > the list of MFNs that comprise your GDT to the set_gdt() hypercall. You > must ensure you have only read-only mappings of those MFNs before > passing them to that hypercall! If you wish to update your GDT, use the > update_descriptor() hypercall. I ended up taking this approach, though i've yet to get it to work. With update_descriptor the first argument is a machine address. Should this be the machine frame number + offset of entry? Regards Ivan