OSDN Git Service

qapi: improve device_add schema
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 13 Jan 2017 14:41:18 +0000 (15:41 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 16 Jan 2017 08:15:24 +0000 (09:15 +0100)
commitb780e9c3f2a29180397ddcd1f3c5e5a5c49353e7
treef61facd16e61a186046529eb8df0b46b22335949
parente22da431a79959b66dc0ed562eca1095e2bce196
qapi: improve device_add schema

'device_add' is still incomplete for now, but we can fix a few
arguments:
- 'bus' is a common argument, regardless of the device
- 'id' is an optional argument

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170113144135.5150-5-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qapi-schema.json