Oh, this issue may be for all command lines (e.g. -d option), I  guess, we need
process them all in main() when process command line options.

----------------------------------------
> Subject: Re: [PATCH] linux-user/main.c: Always set QEMU_LD_PREFIX when 
> interp_prefix is changed
> To: [email protected]
> CC: [email protected]; [email protected]; [email protected]
> From: [email protected]
> Date: Thu, 10 Sep 2015 13:49:18 +0800
>
> On 2015年09月10日 13: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'.
>>
>
> Oh, sorry for typo, "the 2nd" -> "the second".
>
>> So qemu need always set QEMU_LD_PREFIX when interp_prefix is changed.
>>
>> Signed-off-by: Chen Gang <[email protected]>
>
>
> Thanks.
> --
> Chen Gang
>
> Open, share, and attitude like air, water, and life which God blessed
                                          

Reply via email to