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

Re: [Xen-devel] [RFC PATCH 5/8]: PVH: smp changes



On Wed, 2012-08-22 at 01:23 +0100, Mukesh Rathor wrote:
> On Fri, 17 Aug 2012 10:42:11 +0100
> Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> 
> > > @@ -339,7 +343,20 @@ cpu_initialize_context(unsigned int cpu,
> > > struct task_struct *idle) (unsigned long)xen_hypervisor_callback;
> > >           ctxt->failsafe_callback_eip = 
> > >                                   (unsigned
> > > long)xen_failsafe_callback; -
> > > + } else {
> > > +         ctxt->user_regs.ds = __KERNEL_DS;
> > > +         ctxt->user_regs.es = 0;
> > > +         ctxt->user_regs.gs = 0;
> > 
> > Not __KERNEL_DS for es too?
> 
> 64bit, es ignored, right?

Not 100% sure, the limit certainly is but the base and the privilege
level might not be? 

The reason I mentioned it was that I could see in the !pvh case:
                ctxt->user_regs.es = __USER_DS;

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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