qemu-e2k/include/qapi
Markus Armbruster 69240fe62d qmp: Don't let malformed in-band commands jump the queue
handle_qmp_command() reports certain errors right away.  This is wrong
when OOB is enabled, because the errors can "jump the queue" then, as
the previous commit demonstrates.

To fix, we need to delay errors until dispatch.  Do that for semantic
errors, mostly by reverting ill-advised parts of commit cf869d5317
"qmp: support out-of-band (oob) execution".  Bonus: doesn't run
qmp_dispatch_check_obj() twice, once in handle_qmp_command(), and
again in do_qmp_dispatch().  That's also due to commit cf869d5317.

The next commit will fix queue jumping for syntax errors.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180703085358.13941-18-armbru@redhat.com>
2018-07-03 23:18:56 +02:00
..
qmp qmp: Don't let malformed in-band commands jump the queue 2018-07-03 23:18:56 +02:00
clone-visitor.h Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
dealloc-visitor.h
error.h Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
opts-visitor.h
qmp-event.h
qobject-input-visitor.h
qobject-output-visitor.h
string-input-visitor.h
string-output-visitor.h
util.h
visitor-impl.h
visitor.h qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00