diff options
| author | Thomas Huth <thuth@redhat.com> | 2019-08-20 16:33:38 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2019-09-05 13:18:52 +0200 |
| commit | a2726593884338fa0e8e50869c4f9811d1b43e05 (patch) | |
| tree | 59f2d833ee341838b72525e1f0126a22dcf8d79e /tests/libqos/virtio-pci.c | |
| parent | 500efcfcf0fe2e0dae1d25637a13435ce7b6e421 (diff) | |
| download | focaccia-qemu-a2726593884338fa0e8e50869c4f9811d1b43e05.tar.gz focaccia-qemu-a2726593884338fa0e8e50869c4f9811d1b43e05.zip | |
tests/migration: Do not use functions anymore that rely on global_qtest
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().
Message-Id: <20190904130047.25808-2-thuth@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/libqos/virtio-pci.c')
0 files changed, 0 insertions, 0 deletions