Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-28 Thread Riku Voipio
On Sat, Jul 23, 2011 at 07:47:49AM +0200, josch wrote: This could be avoided by setting the proposed environment variable QEMU_LD_PREFIX to the just created debian rootfs. As mentioned earlier, the usage of the -L option is not possible in this scenario because qemu-user is only implicitly

Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-28 Thread Johannes Schauer
Hi, On Thu, Jul 28, 2011 at 11:41:09AM +0300, Riku Voipio wrote: On Sat, Jul 23, 2011 at 07:47:49AM +0200, josch wrote: This could be avoided by setting the proposed environment variable QEMU_LD_PREFIX to the just created debian rootfs. As mentioned earlier, the usage of the -L option

Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-28 Thread Geert Stappers
On Thu, Jul 28, 2011 at 01:24:47PM +0200, Johannes Schauer wrote: @Geert Stappers: you are patching bsd-user/main.c and darwin-user/main.c as well. I take it that you did test your changes on those platforms? does it work there as well? I have no clue of darwin but is it really useful

Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-28 Thread Alexander Graf
On 28.07.2011, at 18:50, Geert Stappers wrote: On Thu, Jul 28, 2011 at 01:24:47PM +0200, Johannes Schauer wrote: @Geert Stappers: you are patching bsd-user/main.c and darwin-user/main.c as well. I take it that you did test your changes on those platforms? does it work there as well? I

[Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-22 Thread josch
From: Johannes Schauer j.scha...@email.de Signed-off-by: Johannes Schauer j.scha...@email.de --- linux-user/main.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index 289054b..b590aa7 100644 --- a/linux-user/main.c +++

[Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-22 Thread josch
From: Johannes Schauer j.scha...@email.de Hi, qemu allows to specify the elf interpreter prefix with the -L option. When using qemu user mode emulation through the binfmt mechanism, it is not possible to pass any commandline arguments to qemu. Having qemu evaluate an environment variable makes

[Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-06 Thread Johannes Schauer
Signed-off-by: Johannes Schauer j.scha...@email.de --- linux-user/main.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index 289054b..b590aa7 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -2891,6 +2891,11 @@ int

[Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-06 Thread Johannes Schauer
Hi, qemu allows to specify the elf interpreter prefix with the -L option. When using qemu user mode emulation through the binfmt mechanism, it is not possible to pass any commandline arguments to qemu. Having qemu evaluate an environment variable makes it possible to still supply a custom elf