[Lguest] [patch] u32 pointer nightmare .....

Rusty Russell rusty at rustcorp.com.au
Fri Aug 31 08:47:30 EST 2007


On Thu, 2007-08-30 at 13:41 -0400, Steven Rostedt wrote:
> Glauber de Oliveira Costa wrote:
> > On 8/30/07, Rusty Russell <rusty at rustcorp.com.au> wrote:
> >> It was explicit, actually.  I wasn't sure we want to insist that
> >> userspace long == kernel long.  But given the nature of lguest, that
> >> might be fine.
> >>
> >> Just want to check that the x86-64 people are happy with this fix.
> >>
> > We'd have to test it to be 100 % sure, but Jes talked to us even
> > before posting the patch, and as we also do use long instead of uxx
> > for most of our stuff, it seems fine from our POV.
> > 
> We also need to take into account running this from a 32 bit userspace.
> So I'll take a better look at it.
> 
> I have a box that I run all the apps in 32 with a 64 bit kernel.  But we 
> are a ways from getting that to work.

Yes, that's my main concern.  But I think i386 vs x86-64 is going to be
a compile time question (we can always compile two launchers).  If so, a
simple "kernel_ptr_t" or something would work.

Rusty.




More information about the Lguest mailing list