qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Is it possible to use qemu to call a non-native library?
@ 2010-10-28  8:30 Face Clock
  2010-10-28  8:45 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Face Clock @ 2010-10-28  8:30 UTC (permalink / raw)
  To: qemu-devel

I am new to QEMU and have a question.

I know QEMU can be used to run a program (user mode emulation) or boot
a system (full system emulation). But can I use QEMU to load from a
program a shared library (such as .so file in linux) which was built
for a different CPU target?

 For instance, I have a program prog_a, which run on one type of CPU.
prog_a  needs a dynamic library b.so. But the b.so at hand is meant
for a different CPU (non-native). To use b.so, can I do this:  prog_a
--> QEMU emulation --> b.so?  In this sense, the emulation is done at
the API/library level, not at  the program or system level.

Is it possible?I am willing to change QEMU code to do this.

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-28  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-28  8:30 [Qemu-devel] Is it possible to use qemu to call a non-native library? Face Clock
2010-10-28  8:45 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).