diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2023-06-01 17:13:39 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-06-02 11:46:19 +0200 |
commit | 0150e75d012b34182fa1951d346377f8196464e4 (patch) | |
tree | 7148597e189f58c2a43462e6e1937bae62ed1e41 /tests/qtest/migration-test.c | |
parent | 28760edcd9589c1d8a39b25993ec46128865ca30 (diff) | |
download | qemu-0150e75d012b34182fa1951d346377f8196464e4.zip qemu-0150e75d012b34182fa1951d346377f8196464e4.tar.gz qemu-0150e75d012b34182fa1951d346377f8196464e4.tar.bz2 |
tests/qtest: add support for callback to receive QMP events
Currently code must call one of the qtest_qmp_event* functions to
fetch events. These are only usable if the immediate caller knows
the particular event they want to capture, and are only interested
in one specific event type. Adding ability to register an event
callback lets the caller capture a range of events over any period
of time.
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230601161347.1803440-3-berrange@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tests/qtest/migration-test.c')
0 files changed, 0 insertions, 0 deletions