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