Re: [PATCH v9 10/11] iotests: add support for capturing and matching QMP events

2021-01-20 Thread Eric Blake
On 1/20/21 4:44 AM, Daniel P. Berrangé wrote: > When using the _launch_qemu and _send_qemu_cmd functions from > common.qemu, any QMP events get mixed in with the output from > the commands and responses. > > This makes it difficult to write a test case as the ordering > of events in the output is

[PATCH v9 10/11] iotests: add support for capturing and matching QMP events

2021-01-20 Thread Daniel P . Berrangé
When using the _launch_qemu and _send_qemu_cmd functions from common.qemu, any QMP events get mixed in with the output from the commands and responses. This makes it difficult to write a test case as the ordering of events in the output is not stable. This introduces a variable 'capture_events' w