[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable
From: |
Johannes Schauer |
Subject: |
Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable |
Date: |
Thu, 28 Jul 2011 13:24:47 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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
> > is not possible in this scenario because qemu-user is only implicitly
> > called by the binfmt mechanism.
>
> What worries me here is that we are beginning to add a enviroment
> variable for each and every command line option of qemu linux-user.
Are there other environment variables? I didnt see any? (well besides
QEMU_STRACE that is)
> I think it would be better to have a wrapper binary to be registered
> as the binfmt runner.
If you need help with writing something - dont hesitate to ask for help.
I'm very interested in having this functionality working because of the
reasons I gave in my initial mail. [1]
> Alternatively we should have a generic setup for mapping enviroment
> variables to command line options. Now we get special per-option code
> every time someone needs to setup a command line option from binfmt.
What other options are there that would be interesting for binfmt?
I was also sending this patch to qemu-devel list a month ago but got no
reply. [2]
As I said - if you would like a wrapper or a generic setup for mapping
env variables to commandline parameters and dont have time to do it
yourself, dont hesitate to delegate some work to me :)
@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 there?
cheers, josch
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632192#5
[2] http://lists.nongnu.org/archive/html/qemu-devel/2011-07/msg00459.html
- [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable, Johannes Schauer, 2011/07/06
- [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable, josch, 2011/07/23
- Re: [Qemu-devel] Bug#632192: [PATCH] add QEMU_LD_PREFIX environment variable, Vagrant Cascadian, 2011/07/29
- Re: [Qemu-devel] Bug#632192: [PATCH] add QEMU_LD_PREFIX environment variable, Johannes Schauer, 2011/07/29
- Re: [Qemu-devel] Bug#632192: [PATCH] add QEMU_LD_PREFIX environment variable, Riku Voipio, 2011/07/30
- [Qemu-devel] [PATCH] introduce environment variables for all qemu-user options, j . schauer, 2011/07/31
- Re: [Qemu-devel] [PATCH] introduce environment variables for all qemu-user options, Peter Maydell, 2011/07/31
- [Qemu-devel] [PATCH] introduce environment variables for all qemu-user options, Johannes Schauer, 2011/07/31