[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/7] tests/qtest/migration: Allow using accelerators different of
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 7/7] tests/qtest/migration: Allow using accelerators different of TCG / KVM |
Date: |
Tue, 28 Jan 2025 14:54:29 +0100 |
There is no particular reason to restrict all the framework
to TCG or KVM, since we can check on a per-test basis which
accelerator is available (via MigrationTestEnv::has_$ACCEL).
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
tests/qtest/migration/framework.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tests/qtest/migration/framework.c
b/tests/qtest/migration/framework.c
index 30808de14e0..e5f0712c266 100644
--- a/tests/qtest/migration/framework.c
+++ b/tests/qtest/migration/framework.c
@@ -950,11 +950,6 @@ MigrationTestEnv *migration_get_env(void)
env->has_hvf = qtest_has_accel("hvf");
env->has_tcg = qtest_has_accel("tcg");
- if (!env->has_tcg && !env->has_kvm) {
- g_test_skip("No KVM or TCG accelerator available");
- return env;
- }
-
env->has_dirty_ring = env->has_kvm && kvm_dirty_ring_supported();
env->has_uffd = ufd_version_check(&env->uffd_feature_thread_id);
env->is_x86 = !strcmp(env->arch, "i386") || !strcmp(env->arch, "x86_64");
--
2.47.1
Re: [PATCH 0/7] tests/qtest/migration: Update framework to allow using HVF accelerator, Philippe Mathieu-Daudé, 2025/01/28