[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC 2/2] qemu-img: migrate to use qemu-arg
From: |
Leandro Dorileo |
Subject: |
Re: [Qemu-devel] [PATCH RFC 2/2] qemu-img: migrate to use qemu-arg |
Date: |
Sun, 9 Mar 2014 13:35:53 +0000 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
On Sun, Mar 09, 2014 at 01:03:12PM +0000, Peter Maydell wrote:
> On 9 March 2014 12:37, Leandro Dorileo <address@hidden> 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 <address@hidden>
> >>
> >> 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
Re: [Qemu-devel] [PATCH RFC 0/2] qemu-arg: general purpose argument parser, Peter Maydell, 2014/03/08
Re: [Qemu-devel] [PATCH RFC 0/2] qemu-arg: general purpose argument parser, Andreas Färber, 2014/03/09
Re: [Qemu-devel] [PATCH RFC 0/2] qemu-arg: general purpose argument parser, Kevin Wolf, 2014/03/11