qemu-devel
[Top][All Lists]
Advanced

[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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH RFC 2/2] qemu-img: migrate to use qemu-arg
Date: Sun, 09 Mar 2014 08:30:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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. Also, I wonder how hard it would be to apply the same approach to the main QEMU binary which already uses QemuOpts for its more complex arguments; for sure you risk that accumulating multiple layers of abstractions makes the code even harder to read than it is now.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]