mbox series

[0/7] tests/qtest/migration: Update framework to allow using HVF accelerator

Message ID 20250128135429.8500-1-philmd@linaro.org
Headers show
Series tests/qtest/migration: Update framework to allow using HVF accelerator | expand

Message

Philippe Mathieu-Daudé Jan. 28, 2025, 1:54 p.m. UTC
Hi,

This series modify few bits of the migration QTest framework
to allow running the tests using the HVF framework (also
leaving the possibilty for other ones, removing the KVM/TCG
restriction).

Philippe Mathieu-Daudé (7):
  migration/dirtyrate: Do not unlock cpu_list lock twice
  tests/qtest/migration: Make 'has_dirty_ring' generic
  tests/qtest/migration: Initialize MigrationTestEnv::arch early
  tests/qtest/migration: Pass accelerator arguments as machine option
  tests/qtest/migration: Add MigrationTestEnv::has_hvf field
  tests/qtest/migration: Run aarch64/HVF tests using GICv2
  tests/qtest/migration: Allow using accelerators different of TCG / KVM

 tests/qtest/migration/framework.h     |  1 +
 migration/dirtyrate.c                 |  1 -
 tests/qtest/migration/framework.c     | 43 ++++++++++++++-------------
 tests/qtest/migration/precopy-tests.c |  6 ++--
 4 files changed, 26 insertions(+), 25 deletions(-)

Comments

Philippe Mathieu-Daudé Jan. 28, 2025, 1:55 p.m. UTC | #1
On 28/1/25 14:54, Philippe Mathieu-Daudé wrote:
> Hi,
> 
> This series modify few bits of the migration QTest framework
> to allow running the tests using the HVF framework (also
> leaving the possibilty for other ones, removing the KVM/TCG
> restriction).

Forgot to mention:
Based-on: <20250128111821.93767-1-philmd@linaro.org>
           "tests/qtest: Make qtest_has_accel() generic"

> Philippe Mathieu-Daudé (7):
>    migration/dirtyrate: Do not unlock cpu_list lock twice
>    tests/qtest/migration: Make 'has_dirty_ring' generic
>    tests/qtest/migration: Initialize MigrationTestEnv::arch early
>    tests/qtest/migration: Pass accelerator arguments as machine option
>    tests/qtest/migration: Add MigrationTestEnv::has_hvf field
>    tests/qtest/migration: Run aarch64/HVF tests using GICv2
>    tests/qtest/migration: Allow using accelerators different of TCG / KVM