qemu-e2k/scripts/qapi
Kevin Wolf 04f22362f1 qapi: Add a 'coroutine' flag for commands
This patch adds a new 'coroutine' flag to QMP command definitions that
tells the QMP dispatcher that the command handler is safe to be run in a
coroutine.

The documentation of the new flag pretends that this flag is already
used as intended, which it isn't yet after this patch. We'll implement
this in another patch in this series.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201005155855.256490-9-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2020-10-09 07:08:19 +02:00
..
__init__.py
commands.py qapi: Add a 'coroutine' flag for commands 2020-10-09 07:08:19 +02:00
common.py qapi: Drop conditionals for Python 2 2020-03-05 09:24:11 +01:00
error.py qapi: Use super() now we have Python 3 2020-03-05 09:24:11 +01:00
events.py qapi: Add feature flags to remaining definitions 2020-03-17 19:58:34 +01:00
expr.py qapi: Add a 'coroutine' flag for commands 2020-10-09 07:08:19 +02:00
gen.py scripts/qapi: Remove texinfo generation support 2020-09-29 17:55:39 +02:00
introspect.py qapi: Add a 'coroutine' flag for commands 2020-10-09 07:08:19 +02:00
parser.py scripts/qapi/parser.py: improve doc comment indent handling 2020-09-29 17:55:39 +02:00
schema.py qapi: Add a 'coroutine' flag for commands 2020-10-09 07:08:19 +02:00
source.py qapi: Inheriting from object is pointless with Python 3, drop 2020-03-05 09:24:11 +01:00
types.py qapi: enable use of g_autoptr with QAPI types 2020-09-03 09:38:36 +02:00
visit.py qapi: Fix visit_type_STRUCT() not to fail for null object 2020-07-21 14:38:23 +02:00