diff options
| author | Fabiano Rosas <farosas@suse.de> | 2024-11-27 15:28:49 -0300 |
|---|---|---|
| committer | Fabiano Rosas <farosas@suse.de> | 2024-12-12 10:25:39 -0300 |
| commit | e6c5704043f0cdb3ce567b74d73a99c79457e3e6 (patch) | |
| tree | acefbcbca2de9ccf674215f84d0e7dbe582ea1ef /tests/qtest/virtio-net-failover.c | |
| parent | 537f23fb9e215c4d42ec47055a24cf4670133544 (diff) | |
| download | focaccia-qemu-e6c5704043f0cdb3ce567b74d73a99c79457e3e6.tar.gz focaccia-qemu-e6c5704043f0cdb3ce567b74d73a99c79457e3e6.zip | |
tests/qtest/migration: Move qmp helpers to a separate file
We current have a bunch of non-test functions in migration-test.c and some others in migration-helpers.c. In order to split migration-test.c into separate test binaries, these helpers need to go somewhere else. To avoid making migration-helpers even larger, move all QMP-related functions into a new migration-qmp.c file and put it under the qtest/migration/ directory. The new file holds everything that has as its main responsibility to call into QMP. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'tests/qtest/virtio-net-failover.c')
| -rw-r--r-- | tests/qtest/virtio-net-failover.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtest/virtio-net-failover.c b/tests/qtest/virtio-net-failover.c index 73dfabc272..28a6147d9a 100644 --- a/tests/qtest/virtio-net-failover.c +++ b/tests/qtest/virtio-net-failover.c @@ -12,6 +12,7 @@ #include "libqos/pci.h" #include "libqos/pci-pc.h" #include "migration-helpers.h" +#include "migration/migration-qmp.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qlist.h" #include "qapi/qmp/qjson.h" |