Re: [Qemu-devel] Using native libraries

2007-05-22 Thread Gwenole Beauchesne
Hi, I'm sure someone's probably had a similar idea before, and it's probably not practical for some reason I'm overlooking-- but is there a reason Qemu can't dynamically translate library calls to use the native libraries instead of requiring emulated libraries as well? It should be

[Qemu-devel] Using native libraries

2007-05-21 Thread Luke -Jr
I'm sure someone's probably had a similar idea before, and it's probably not practical for some reason I'm overlooking-- but is there a reason Qemu can't dynamically translate library calls to use the native libraries instead of requiring emulated libraries as well?

Re: [Qemu-devel] Using native libraries

2007-05-21 Thread Carlos A. M. dos Santos
On 5/21/07, Luke -Jr [EMAIL PROTECTED] wrote: I'm sure someone's probably had a similar idea before, and it's probably not practical for some reason I'm overlooking-- but is there a reason Qemu can't dynamically translate library calls to use the native libraries instead of requiring emulated

Re: [Qemu-devel] Using native libraries

2007-05-21 Thread H. Peter Anvin
Luke -Jr wrote: I'm sure someone's probably had a similar idea before, and it's probably not practical for some reason I'm overlooking-- but is there a reason Qemu can't dynamically translate library calls to use the native libraries instead of requiring emulated libraries as well? The

Re: [Qemu-devel] Using native libraries

2007-05-21 Thread Luke -Jr
On Monday 21 May 2007 16:13, H. Peter Anvin wrote: The easiest way to do that is by having an RPC stub library in the emulated environment which contains nothing but trap instructions -- like system calls -- that can be intercepted on the other side. At that point, one has to do translation