qemu-e2k/scripts/qapi
Markus Armbruster 093e367951 Revert "qapi-events: add 'if' condition to implicit event enum"
This reverts commit 7bd2634905.

The commit applied the events' conditions to the members of enum
QAPIEvent.  Awkward, because it renders QAPIEvent unusable in
target-independent code as soon as we make an event target-dependent.
Reverting this has the following effects:

* ui/vnc.c can remain target independent.

* monitor_qapi_event_conf[] doesn't have to muck around with #ifdef.

* query-events again doesn't reflect conditionals.  I'm going to
  deprecate it in favor of query-qmp-schema.

Another option would be to split target-dependent parts off enum
QAPIEvent into a target-dependent enum.  Doesn't seem worthwhile right
now.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190214152251.2073-17-armbru@redhat.com>
2019-02-18 14:44:05 +01:00
..
__init__.py
commands.py qapi: Clean up modular built-in code generation a bit 2019-02-18 14:44:04 +01:00
common.py qapi: Prepare for system modules other than 'builtin' 2019-02-18 14:44:04 +01:00
doc.py qapi: add condition to variants documentation 2018-12-14 06:52:48 +01:00
events.py Revert "qapi-events: add 'if' condition to implicit event enum" 2019-02-18 14:44:05 +01:00
introspect.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00
types.py qapi: Prepare for system modules other than 'builtin' 2019-02-18 14:44:04 +01:00
visit.py qapi: Prepare for system modules other than 'builtin' 2019-02-18 14:44:04 +01:00