diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-12-13 16:37:12 +0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-12-13 19:20:11 +0100 |
commit | 7bd263490590ee6fcf34ecb6203437e22f6e5a9c (patch) | |
tree | a51c6f826f4077e1d3d2eac00d116372c63f9fb6 /tests/qapi-schema/event-nest-struct.json | |
parent | 6cc32b0e14b3f91e15a9511d90b222abc1df391d (diff) | |
download | qemu-7bd263490590ee6fcf34ecb6203437e22f6e5a9c.zip |
qapi-events: add 'if' condition to implicit event enum
Add condition to QAPIEvent enum members based on the event 'if'.
The generated code remains unconditional for now. Later patches
generate the conditionals (also there is no additional coverage of
this change in qapi-schema-test.out since the event_names enum is an
implicit type created by qapi/events.py).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20181213123724.4866-11-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/event-nest-struct.json')
0 files changed, 0 insertions, 0 deletions