diff options
author | Eric Blake <eblake@redhat.com> | 2016-05-09 22:20:06 -0600 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-05-12 09:47:55 +0200 |
commit | f2ff429bfa713da1366333417fecfa939a709cf1 (patch) | |
tree | b5ee75dfbf0fdb70c1588f4d7d157bcbc0c47114 /tests/virtio-scsi-test.c | |
parent | a543a554cfffa4bbed2c74ac56c1abf046821377 (diff) | |
download | qemu-f2ff429bfa713da1366333417fecfa939a709cf1.tar.gz qemu-f2ff429bfa713da1366333417fecfa939a709cf1.tar.bz2 qemu-f2ff429bfa713da1366333417fecfa939a709cf1.zip |
qmp: Don't reuse qmp visitor after grabbing output
The testsuite was the only client that attempted to reuse a
QmpOutputVisitor for a second visit after encountering an
error and/or calling qmp_output_get_qobject() on a first
visit. The next patch is about to tighten the semantics to
be one-shot usage of the visitor, like all other visitors
(which will enable further simplifications down the road).
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1462854006-24658-1-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/virtio-scsi-test.c')
0 files changed, 0 insertions, 0 deletions