On 10 September 2015 at 06:43, <[email protected]> wrote: > From: Chen Gang <[email protected]> > > If qemu sets interp_prfix via command line '-L' instead of environments > variable QEMU_LD_PREFIX, it will cause syscall execve() failed. Because > the 2nd qemu has no command line '-L'. > > So qemu need always set QEMU_LD_PREFIX when interp_prefix is changed.
I think this is user error. If you want exec to work automatically onto a second QEMU then you need to set up binfmt misc with a wrapper and probably the environment variables. I don't think we need to turn all our command line switches into environment variables: they're not supposed to be somehow magically inherited by child QEMU processes. thanks -- PMM
