From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMduL-0005sC-JL for qemu-devel@nongnu.org; Sun, 09 Mar 2014 09:36:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMduG-00056r-MW for qemu-devel@nongnu.org; Sun, 09 Mar 2014 09:36:49 -0400 Received: from mail-oa0-f44.google.com ([209.85.219.44]:36993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMduG-00056n-I2 for qemu-devel@nongnu.org; Sun, 09 Mar 2014 09:36:44 -0400 Received: by mail-oa0-f44.google.com with SMTP id n16so6021251oag.3 for ; Sun, 09 Mar 2014 06:36:43 -0700 (PDT) Date: Sun, 9 Mar 2014 13:35:53 +0000 From: Leandro Dorileo Message-ID: <20140309133553.GA22655@dorilex> References: <1394304438-14848-1-git-send-email-l@dorileo.org> <1394304438-14848-3-git-send-email-l@dorileo.org> <531C1894.8020804@redhat.com> <20140309123709.GA18323@dorilex> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH RFC 2/2] qemu-img: migrate to use qemu-arg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Kevin Wolf , Fam Zheng , Stefan Weil , Michael Tokarev , QEMU Developers , Stefan Hajnoczi , Paolo Bonzini , Laszlo Ersek , Peter Lieven On Sun, Mar 09, 2014 at 01:03:12PM +0000, Peter Maydell wrote: > On 9 March 2014 12:37, Leandro Dorileo wrote: > > Hi Paolo, > > > > On Sun, Mar 09, 2014 at 08:30:28AM +0100, Paolo Bonzini wrote: > >> Il 08/03/2014 19:47, Leandro Dorileo ha scritto: > >> >Remove the arg parsing implementations using getopt and use qemu-arg. > >> >Also remove the qemu-img-cmds.hx since it's now generated on building time, > >> >adapted the build system to generate the .hx file using the qemu-img itself > >> >using the qemu-arg internal command generate-hx. > >> > > >> >Signed-off-by: Leandro Dorileo > >> > >> This makes it much harder to cross-compile QEMU. > > > > What's non-portable in this case? what would limit the QEMU cross-compile? > > qemu-img is a binary for the target system; it can't run at all > on the host system, so you can't run it during compilation. > You need to keep "things we do during build" completely > separate from the runtime binaries. Yep, true. -- Leandro Dorileo