qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Riku Voipio
Subject: Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable
Date: Thu, 28 Jul 2011 11:41:09 +0300
User-agent: Mutt/1.5.18 (2008-05-17)

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. I think it would
be better to have a wrapper binary to be registered as the binfmt runner.
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.

Riku



reply via email to

[Prev in Thread] Current Thread [Next in Thread]