aboutsummaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2024-11-27 15:28:53 -0300
committerFabiano Rosas <farosas@suse.de>2024-12-12 10:25:40 -0300
commitd4bedc3514b6ffde449bcf967b04a3cafe7e89c7 (patch)
tree16c327e3d82c01dfc49d82dd33c14e3cb30f9c84 /MAINTAINERS
parent2fa72ba79bc84bd44385af260dbacc223f7a6181 (diff)
downloadqemu-d4bedc3514b6ffde449bcf967b04a3cafe7e89c7.zip
qemu-d4bedc3514b6ffde449bcf967b04a3cafe7e89c7.tar.gz
qemu-d4bedc3514b6ffde449bcf967b04a3cafe7e89c7.tar.bz2
tests/qtest/migration: Isolate test initialization
We currently have some environment validation to perform and flags to set during the initialization of the tests. To be able to add more migration test binaries, we'll need these tasks to be in their own function so they can be called from more than one place. Move the initialization code to a function and introduce the MigrationTestEnv structure to hold the flags that are accessed during test registration. Make the env object static to avoid have to change all the code to pass it around. Similarly with the tmpfs variable, which is used extensively. Note: I'm keeping the new functions in migration-test.c because they are going to be moved in the next patch to the correct place. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions