Received: from eggs.gnu.org ([2001:4830:134:3::10]:33455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcpbY-0004t1-2Z for qemu-devel@nongnu.org; Fri, 18 Sep 2015 02:57:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcpbU-0005HN-2p for qemu-devel@nongnu.org; Fri, 18 Sep 2015 02:57:08 -0400 From: Markus Armbruster References: <1441857991-7309-1-git-send-email-eblake@redhat.com> <1441857991-7309-28-git-send-email-eblake@redhat.com> <55FA84C5.8060206@cn.fujitsu.com> <55FACF90.408@redhat.com> <55FB1E65.6030402@redhat.com> <55FB6041.2060602@cn.fujitsu.com> Date: Fri, 18 Sep 2015 08:56:54 +0200 In-Reply-To: <55FB6041.2060602@cn.fujitsu.com> (Wen Congyang's message of "Fri, 18 Sep 2015 08:52:17 +0800") Message-ID: <87d1xg9pvt.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH RFC v4 27/29] qapi: Change Netdev into a flat union List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wen Congyang Cc: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , qemu-devel@nongnu.org, Vincenzo Maffione , Luiz Capitulino , Max Filippov , Gerd Hoffmann , Dmitry Fleytman , "Edgar E. Iglesias" , Rob Herring , Alexander Graf , Scott Feldman , dirty.ice.hu@gmail.com, marcandre.lureau@redhat.com, Jiri Pirko , Alistair Francis , Jan Kiszka , Stefan Hajnoczi , Giuseppe Lettieri , Luigi Rizzo , David Gibson , Peter Crosthwaite , Michael Walle , "open list:sPAPR pseries" , Peter Chubb Wen Congyang writes: > On 09/18/2015 04:11 AM, Eric Blake wrote: >> On 09/17/2015 08:34 AM, Eric Blake wrote: >> >>>> >>>> I apply Markus's v8 patch and this series, make check will fail: >>>> TEST: tests/virtio-net-test... (pid=23648) >>>> /x86_64/virtio/net/pci/basic: qemu-system-x86_64: -netdev >>>> socket,fd=6,id=hs0: Invalid parameter 'fd' >>> >>> Oh dear. I guess I was focused on 'make check-qapi-schema', and forgot >>> to test the rest of the suite. The bug is most likely in my patches, >>> and will be fixed by the time I post v5, now that you've pointed it out >>> to me. >> >> Fix is simple: add this patch to your build: >> >> https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg01650.html >> >> I've rebased my git repo accordingly for now, and will post v5 later on >> (I'm still working on other improvements, and may reshuffle patches >> before actually getting to v5). >> >> git fetch git://repo.or.cz/qemu/ericb.git qapi >> http://repo.or.cz/qemu/ericb.git/shortlog/refs/heads/qapi >> > > OK, I will try it. What is difference between start_struct() and > start_implicit_struct()? I hope to be able to answer this question next week, after taking a dive in the (almost entirely undocumented) visitors code.