Re: [PATCH] Qemu support for PPC

Alan Cox (alan@lxorguk.ukuu.org.uk)
07 Apr 2003 12:24:29 +0100


On Llu, 2003-04-07 at 07:05, Paul Mackerras wrote:
> Well, all we really want is a way to set emul_prefix. Which I could
> do with a PPC-specific syscall if I had to, I guess. Doing it in
> userspace is possible but ugly, because you have to handle several
> different syscalls, plus keep track of the current directory, plus
> handle symlinks, etc., etc., in the emulator. The kernel has all that
> information readily to hand plus the data structures to keep track of
> it all.

Why do you need emul_prefix in the first place ? You need a different
/lib for emulated binaries then use all the nice stuff Al has done
and mount yourself a file system that is in your namespace but not
the global one.

If you want to do overlaying then lets get the union fs for read only
stuff into the kernel properly and solve the -real- problem not hack
up some emulator magic again.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/