Re: [Qemu-devel] [PATCH v16A 17/24] qmp: Don't reuse qmp visitor after grabbing output

2016-05-10 Thread Markus Armbruster
Eric Blake writes: > 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,

[Qemu-devel] [PATCH v16A 17/24] qmp: Don't reuse qmp visitor after grabbing output

2016-05-09 Thread Eric Blake
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