qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 5/9] tests/qtest: switch to using event callbacks for STOP


From: Thomas Huth
Subject: Re: [PATCH v3 5/9] tests/qtest: switch to using event callbacks for STOP event
Date: Thu, 1 Jun 2023 11:31:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 31/05/2023 15.23, Daniel P. Berrangé wrote:
Change the migration test to use the new qtest event callback to watch
for the stop event. This ensures that we only watch for the STOP event
on the source QEMU. The previous code would set the single 'got_stop'
flag when either source or dest QEMU got the STOP event.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
  tests/qtest/migration-helpers.c | 18 ++++++++----------
  tests/qtest/migration-helpers.h |  3 ++-
  tests/qtest/migration-test.c    |  4 ++++
  3 files changed, 14 insertions(+), 11 deletions(-)


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




reply via email to

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