]> git.proxmox.com Git - mirror_qemu.git/commit
tests/qmp-test: Demonstrate QMP errors jumping the queue
authorMarkus Armbruster <armbru@redhat.com>
Tue, 3 Jul 2018 08:53:42 +0000 (10:53 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 3 Jul 2018 21:18:56 +0000 (23:18 +0200)
commite8f4a22168f573633f31fad3d6bfcbe5f0259b28
tree27ee5839e98ec4db866a568c5bde37a499506ec1
parentb27314567d4cd8e204a18feba60d3341fb2d1aed
tests/qmp-test: Demonstrate QMP errors jumping the queue

When OOB is enabled, out-of-band commands are executed right away,
everything else is queued.  This lets out-of-band commands "jump the
queue".

However, certain errors are always reported right away, and therefore
can jump the queue even when the erroneous input does not request
out-of-band execution.  These errors are pretty unlikely to occur in
production, but it's wrong all the same.  Mark FIXME.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180703085358.13941-17-armbru@redhat.com>
monitor.c
tests/qmp-test.c