tests/avocado: Pass parameters to migration test
commit43dc139c71255953237520e19ba5ebd259d24aae
authorFabiano Rosas <farosas@suse.de>
Wed, 26 Apr 2023 18:00:09 +0000 (26 15:00 -0300)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 May 2023 09:54:32 +0000 (2 10:54 +0100)
treedfaafd5e3541c704591bd0d8986165d44b928cb2
parent0c1ae3ff9dedd8a77bad5508413ccdcfc2493df6
tests/avocado: Pass parameters to migration test

The migration tests are currently broken for an aarch64 host because
the tests pass no 'machine' and 'cpu' options on the QEMU command
line.

Add a separate class to each architecture so that we can specify
'machine' and 'cpu' options instead of relying on defaults.

Add a skip decorator to keep the current behavior of only running
migration tests when the qemu target matches the host architecture.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Message-id: 20230426180013.14814-10-farosas@suse.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/avocado/migration.py