qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 02/10] tests/qtest: add support for callback to receive QM


From: Thomas Huth
Subject: Re: [PATCH v4 02/10] tests/qtest: add support for callback to receive QMP events
Date: Fri, 2 Jun 2023 09:51:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 01/06/2023 18.13, Daniel P. Berrangé wrote:
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.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
  tests/qtest/libqtest.c | 18 ++++++++++++++++--
  tests/qtest/libqtest.h | 43 ++++++++++++++++++++++++++++++++++++++++--
  2 files changed, 57 insertions(+), 4 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]