]> git.proxmox.com Git - mirror_qemu.git/commit - qapi-schema.json
qapi-schema: Fix up misleading specification of netdev_add
authorMarkus Armbruster <armbru@redhat.com>
Wed, 16 Sep 2015 11:06:26 +0000 (13:06 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 21 Sep 2015 07:56:49 +0000 (09:56 +0200)
commitb8a98326d565516bfcaa6582781605d167471b48
treee494cb395596efdcf805715c132af958f33429f0
parent6eb3937e9b20319e1c4f4d53e906fda8f5ccda10
qapi-schema: Fix up misleading specification of netdev_add

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 <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1442401589-24189-24-git-send-email-armbru@redhat.com>
docs/qapi-code-gen.txt
qapi-schema.json
qmp-commands.hx