On 17 September 2014 12:25, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 17/09/2014 18:12, Peter Maydell ha scritto: >> Does anybody care to try to float the idea of an API >> extension to the binfmt stuff to pass us the argv0 >> out-of-band (eg via an elf auxv vector entry if some >> new binfmt flag is passed)? That would I think be the >> best approach, though obviously it's a kernel change. >> >> Failing that I'm not sure we can change upstream >> QEMU's behaviour because it will just break too >> much to do that. This sucks but the kernel as it >> stands just gives us no manoeuvering room :-( > > Another idea is to add a configure option that defaults to yes.
I think that still ends up breaking a bunch of people at some point in the future. I spoke to a kernel guy this morning and he seemed vaguely positive about the idea of an API extension, so I'll see if I can find time to write and send out a patch for that. -- PMM