From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcjvD-0008JX-Jo for qemu-devel@nongnu.org; Thu, 17 Sep 2015 20:53:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcjvC-0004B8-Hn for qemu-devel@nongnu.org; Thu, 17 Sep 2015 20:53:03 -0400 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> From: Wen Congyang Message-ID: <55FB6041.2060602@cn.fujitsu.com> Date: Fri, 18 Sep 2015 08:52:17 +0800 MIME-Version: 1.0 In-Reply-To: <55FB1E65.6030402@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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: Eric Blake , qemu-devel@nongnu.org Cc: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Vincenzo Maffione , Luiz Capitulino , Max Filippov , Gerd Hoffmann , Dmitry Fleytman , "Edgar E. Iglesias" , Rob Herring , armbru@redhat.com, Scott Feldman , =?UTF-8?B?S8WRdsOhZ8OzLCBab2x0w6Fu?= , marcandre.lureau@redhat.com, Jiri Pirko , Alistair Francis , Jan Kiszka , Stefan Hajnoczi , Giuseppe Lettieri , Luigi Rizzo , David Gibson , Alexander Graf , Peter Crosthwaite , Michael Walle , "open list:sPAPR pseries" , Peter Chubb 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()? Thanks Wen Congyang