]> git.proxmox.com Git - mirror_qemu.git/commit
libqtest: add qmp_async
authorJohn Snow <jsnow@redhat.com>
Tue, 28 Apr 2015 19:27:51 +0000 (15:27 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 28 Apr 2015 19:27:51 +0000 (15:27 -0400)
commitba4ed39346c1bdbfefd1d781b39009f90822b956
tree138ecd884fc65df94f6a2ec8584d1333a3c77161
parent8fe941f749b2db3735abade1c298552de4eab496
libqtest: add qmp_async

Add qmp_async, which lets us send QMP commands asynchronously.
This is useful when we want to send commands that will trigger
event responses, but we don't know in what order to expect them.

Sometimes the event responses may arrive even before the command
confirmation will show up, so it is convenient to leave the responses
in the stream.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1426018503-821-5-git-send-email-jsnow@redhat.com
tests/libqtest.c
tests/libqtest.h