From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUKwz-0000pt-Nq for qemu-devel@nongnu.org; Wed, 17 Sep 2014 15:31:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUKwt-0006cn-KM for qemu-devel@nongnu.org; Wed, 17 Sep 2014 15:31:37 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:54099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUKwt-0006cN-DP for qemu-devel@nongnu.org; Wed, 17 Sep 2014 15:31:31 -0400 Received: by mail-lb0-f170.google.com with SMTP id c11so2538859lbj.1 for ; Wed, 17 Sep 2014 12:31:25 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5419E038.3060000@redhat.com> References: <20140825090917.GA14835@afflict.kos.to> <540433A8.5040509@redhat.com> <20140901095115.GA31799@afflict.kos.to> <5419E038.3060000@redhat.com> From: Peter Maydell Date: Wed, 17 Sep 2014 12:31:03 -0700 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] linux-user: enabling binfmt P flag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Joakim Tjernlund , Riku Voipio , Michael Tokarev , QEMU Developers , Alexander Graf , Cole Robinson On 17 September 2014 12:25, Paolo Bonzini 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