From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZboeM-00029G-2y for qemu-devel@nongnu.org; Tue, 15 Sep 2015 07:43:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZboeL-0001v1-2J for qemu-devel@nongnu.org; Tue, 15 Sep 2015 07:43:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZboeK-0001ur-T8 for qemu-devel@nongnu.org; Tue, 15 Sep 2015 07:43:48 -0400 Date: Tue, 15 Sep 2015 12:43:41 +0100 From: "Daniel P. Berrange" Message-ID: <20150915114341.GS23145@redhat.com> References: <1442253477-15422-1-git-send-email-armbru@redhat.com> <1442253477-15422-24-git-send-email-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1442253477-15422-24-git-send-email-armbru@redhat.com> Subject: Re: [Qemu-devel] [PATCH v7 23/26] qapi-schema: Fix up misleading specification of netdev_add Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com On Mon, Sep 14, 2015 at 07:57:54PM +0200, Markus Armbruster wrote: > It doesn't take a 'props' argument, let alone one in the format > "NAME=VALUE,..." > > The bogus arguments specification doesn't matter due to 'gen': false. > Clean it up to be incomplete rather than wrong, and document the > incompleteness. > > While there, improve netdev_add usage example in the manual: add a > device option to show how it's done. > > Signed-off-by: Markus Armbruster > Reviewed-by: Eric Blake > --- > docs/qapi-code-gen.txt | 2 +- > qapi-schema.json | 13 +++++++------ > qmp-commands.hx | 4 +++- > 3 files changed, 11 insertions(+), 8 deletions(-) Reviewed-by: Daniel P. Berrange Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|