Re: Bug#970460: qemu-user: trashes argv[0] breaking multi-call binaries
Le 16/09/2020 à 22:05, Michael Tokarev a écrit :
> 16.09.2020 22:55, John Paul Adrian Glaubitz wrote:
>
>> It's called "--persistent yes", not preserve, my bad.
>
> It is entirely different thing, --persistent (or --fix-binary. F flag)
> is here for quite some time and helps with chroots and the like.
>
> BTW, it turned out not that simple as I thought, the wrapper as
> used by SUSE is still needed - or else it's impossible to distinguish
> between direct qemu-foo invocation and the same invocation using
> binfmt.
The patch that is not merged and Adrian was thinking about is:
https://patchew.org/QEMU/20191024153847.31815-1-laurent@vivier.eu/
Thanks,
Laurent
Reply to: