Received: from eggs.gnu.org ([2001:4830:134:3::10]:34219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAwyg-0004Yg-Rw for qemu-devel@nongnu.org; Fri, 03 Jul 2015 05:09:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAwyb-0007vS-TW for qemu-devel@nongnu.org; Fri, 03 Jul 2015 05:09:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAwyb-0007vN-OF for qemu-devel@nongnu.org; Fri, 03 Jul 2015 05:09:41 -0400 From: Markus Armbruster References: <1435212976.18484.4.camel@redhat.com> <876162qw24.fsf@blackfin.pond.sub.org> <1435906801.26896.3.camel@redhat.com> Date: Fri, 03 Jul 2015 11:09:38 +0200 In-Reply-To: <1435906801.26896.3.camel@redhat.com> (Gerd Hoffmann's message of "Fri, 03 Jul 2015 09:00:01 +0200") Message-ID: <87wpyhfvzh.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/5] qapi flattening + some miscellaneous patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Eduardo Habkost , qemu-devel@nongnu.org, Stefan Hajnoczi , dirty.ice.hu@gmail.com Gerd Hoffmann writes: > On Do, 2015-07-02 at 20:00 +0200, Markus Armbruster wrote: >> Gerd Hoffmann writes: >>=20 >> > On Di, 2015-06-23 at 15:32 +0200, K=C5=91v=C3=A1g=C3=B3, Zolt=C3=A1n w= rote: >> >> I've cherry-picked the qapi related parts from my previous -audiodev >> >> patch series, we can hopefully concentrate on one thing at a time. T= he >> >> most important changes in this patch series are the flattening of the >> >> Netdev structures. This way we can add proper nested structure suppo= rt >> >> into OptsVisitor, without requiring backward-compatibility hacks. >> > >> > Applies and builds fine, no obvious regressions in testing. >> > >> > Tested-by: Gerd Hoffmann >> > >> > Getting this merged before hard freeze would be great ... >> > >> > Any takers? Markus? >>=20 >> A first round of review is my best offer, I'm afraid: I'll be away the >> next two weeks. >>=20 >> Any particular reason why we want this in 2.4? > > Looked easy as everybody agreed that flattening the qemu structs is a > good thing, and merging stuff helps keeping the out-of-tree patch queues > smaller ... Fair enough. The series does three things, I think: 1. QAPI struct flattening [PATCH 2+3] 2. OptsVisitor nesting support [PATCH 1+4] 3. Nicer qemu_opts_print() [PATCH 5] Regarding 1., I'm fine with the general approach. In fact, proper netdev_add qapification will need the flattening anyway (if it's possible at all, but I'd like to try). However, PATCH 3 needs a few comment edits (could be done on commit), and I'd prefer to avoid the type system cheat. See my review for details. Regarding 2., I have questions, and don't think we should rush it. Regarding 3., I'm again fine with the general idea, but the "quoting for shell" part doesn't look ready. Take out that part if you want something committed *now*.