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

Steven Rostedt srostedt at redhat.com
Fri Aug 31 21:54:22 EST 2007


Jes Sorensen wrote:

>>> 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.
> 
> IMHO it would be fair to require a 64 bit launcher for a 64 bit kernel.
> It is going to make the code butt ugly otherwise :(
> 

That's the problem. If you compile it on a 32 bit userspace it will be 4 
byte longs, although the underlining kernel will be 8 byte longs.  Also, 
I'd love to support 32 bit guests on a 64 bit host.  But that's in the 
future.

-- Steve




More information about the Lguest mailing list