[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] switch out of 32e mode issue



On Tue, Jul 03, 2007 at 09:57:21AM +0100, Keir Fraser wrote:
> On 3/7/07 07:51, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:
> 
> > I have read the your changeset 13830
> > "[XEN] kexec: add compatability shim for kexec in 32on64 mode", which seems 
> > to
> > be used for kexec a 32b kernel on 32e xen.

I worked on a pretty old changeset W/O relocation.
vir=>phys just use PAGE_OFFSET

> 
> You're aware it got broken when 64-bit Xen became relocatable (in physical
> memory map), and was only fixed by changesets 15377 and 15379?
> 
> > I borrow some of the code from xen/arch/x86/x86_64/compat_kexec.S for 
> > similar
> > purpose(switch out of 32e mode in xen) by similar way:
> 
> Why would you want to do that, except for kexec?

When boot xen with TXT, shutdown need trap back to sboot for some security 
operations.

> 
>  -- Keir
> 

-- 
best rgds,
edwin

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.