diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-07-03 10:53:44 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-07-03 23:18:56 +0200 |
commit | 1cc37471525d03f963bc71d724f0dc9eab888fc1 (patch) | |
tree | ae68bea009963f6bf9c39b97a16adddcdc698103 /qemu-nbd.texi | |
parent | 69240fe62d1ae02257bc0694a11c478b10378948 (diff) |
qmp: Don't let JSON errors jump the queue
handle_qmp_command() reports JSON syntax errors right away. This is
wrong when OOB is enabled, because the errors can "jump the queue"
then.
The previous commit fixed the same bug for semantic errors, by
delaying the checking until dispatch. We can't delay the checking, so
delay the reporting.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180703085358.13941-19-armbru@redhat.com>
Diffstat (limited to 'qemu-nbd.texi')
0 files changed, 0 insertions, 0 deletions