OSDN Git Service

tests/qapi-schema: Document events with base don't work
authorMarkus Armbruster <armbru@redhat.com>
Fri, 26 Jun 2015 11:14:02 +0000 (13:14 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 4 Sep 2015 13:47:14 +0000 (15:47 +0200)
commit999387782f736d7ac0083f4f02e2bc4ce7a9a27b
treeeede5d2521af2c84ddff232fd8cfd1023dc44c14
parent422e16aac4bd4476f5b40bee3049089de34ef6b6
tests/qapi-schema: Document events with base don't work

When event FOO's 'data' is a struct with a base, we consider only the
struct's direct members, and ignore its base.  The generated
qapi_event_send_foo() doesn't take arguments for base members.

No such events currently exist in the QMP schema.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/qapi-schema/qapi-schema-test.json