[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/6] tests/migration: Do not use functions an
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/6] tests/migration: Do not use functions anymore that rely on global_qtest |
Date: |
Wed, 4 Sep 2019 19:52:28 +0100 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
On Wed, Sep 04, 2019 at 03:00:42PM +0200, Thomas Huth wrote:
> The migration tests deal with multiple test states, so we really should
> not use functions here that rely on the single global_qtest variable.
> Switch from qtest_start() to qtest_init() to make sure that global_qtest
> is not set anymore. This also revealed a regression in the migrate()
> function: It has once been converted to use the qtest_qmp() function,
> but commit b5bbd3f315d686bd511 ("Clean up string interpolation into QMP,
> part 2") accidentally reverted it back to qmp().
>
> Reviewed-by: Dr. David Alan Gilbert <address@hidden>
> Reviewed-by: Laurent Vivier <address@hidden>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> tests/migration-test.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH v2 0/6] Make the core libqtest library independe from global_qtest, Thomas Huth, 2019/09/04
- [Qemu-devel] [PATCH v2 1/6] tests/migration: Do not use functions anymore that rely on global_qtest, Thomas Huth, 2019/09/04
- Re: [Qemu-devel] [PATCH v2 1/6] tests/migration: Do not use functions anymore that rely on global_qtest,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH v2 3/6] tests/libqos: Replace clock_step with qtest_clock_step in virtio code, Thomas Huth, 2019/09/04
- [Qemu-devel] [PATCH v2 2/6] tests/libqos/e1000e: Make e1000e libqos functions independent from global_qtest, Thomas Huth, 2019/09/04
- [Qemu-devel] [PATCH v2 4/6] tests: Remove unnecessary global_qtest references, Thomas Huth, 2019/09/04
- [Qemu-devel] [PATCH v2 6/6] tests/libqtest: Use libqtest-single.h in tests that require global_qtest, Thomas Huth, 2019/09/04