Re: [PATCH] linux-user: make binfmt flag O require P

2019-12-15 Thread Joakim Tjernlund
On Sun, 2019-12-15 at 17:54 +0100, Laurent Vivier wrote: > > Le 14/12/2019 à 13:20, Joakim Tjernlund a écrit : > > From: Joakim Tjernlund > > > > QEMU can autodetect if it is started from Linux binfmt loader > > when binfmt flag O is on. > > Use that and require binfmt flag P as well which will

Re: [PATCH] linux-user: make binfmt flag O require P

2019-12-15 Thread Laurent Vivier
Le 14/12/2019 à 13:20, Joakim Tjernlund a écrit : > From: Joakim Tjernlund > > QEMU can autodetect if it is started from Linux binfmt loader > when binfmt flag O is on. > Use that and require binfmt flag P as well which will enable QEMU > to pass in correct argv0 to the application. I agree it's

[PATCH] linux-user: make binfmt flag O require P

2019-12-14 Thread Joakim Tjernlund
From: Joakim Tjernlund QEMU can autodetect if it is started from Linux binfmt loader when binfmt flag O is on. Use that and require binfmt flag P as well which will enable QEMU to pass in correct argv0 to the application. Signed-off-by: Joakim Tjernlund --- linux-user/main.c | 18 +

Re: [Qemu-devel] [PATCH] linux-user: make binfmt flag O require P

2014-07-14 Thread Joakim Tjernlund
Alexander Graf wrote on 2014/07/14 20:39:29: > > On 14.07.14 20:32, Joakim Tjernlund wrote: > > Qemu can autodetect if it is started from Linux binfmt loader > > when binfmt flag O is on. > > Use that and require binfmt flag P as well which will enable QEMU > > to pass in correct argv0 to the app

Re: [Qemu-devel] [PATCH] linux-user: make binfmt flag O require P

2014-07-14 Thread Alexander Graf
On 14.07.14 20:32, Joakim Tjernlund wrote: Qemu can autodetect if it is started from Linux binfmt loader when binfmt flag O is on. Use that and require binfmt flag P as well which will enable QEMU to pass in correct argv0 to the application. Signed-off-by: Joakim Tjernlund This is missing th

[Qemu-devel] [PATCH] linux-user: make binfmt flag O require P

2014-07-14 Thread Joakim Tjernlund
Qemu can autodetect if it is started from Linux binfmt loader when binfmt flag O is on. Use that and require binfmt flag P as well which will enable QEMU to pass in correct argv0 to the application. Signed-off-by: Joakim Tjernlund --- linux-user/main.c | 13 - 1 file changed, 12 inse