summary refs log tree commit diff stats
path: root/tests/qtest/device-introspect-test.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2020-06-17 16:52:04 +0200
committerThomas Huth <thuth@redhat.com>2020-07-06 07:37:02 +0200
commit51b3ca97592964a0ece22f9df92592e0f80a78fe (patch)
treeab61afd38f4b24524a280d9391bf8703fbc613ec /tests/qtest/device-introspect-test.c
parentdda2f556c3503758680b6a868fc49c4886a5039f (diff)
downloadfocaccia-qemu-51b3ca97592964a0ece22f9df92592e0f80a78fe.tar.gz
focaccia-qemu-51b3ca97592964a0ece22f9df92592e0f80a78fe.zip
tests/qtest: Unify the test for the xenfv and xenpv machines
We have the same check in three places. Let's unify it in a central
place instead.

Message-Id: <20200622104339.21000-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/device-introspect-test.c')
-rw-r--r--tests/qtest/device-introspect-test.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/qtest/device-introspect-test.c b/tests/qtest/device-introspect-test.c
index f2c1576cae..9abb5ec889 100644
--- a/tests/qtest/device-introspect-test.c
+++ b/tests/qtest/device-introspect-test.c
@@ -287,11 +287,6 @@ static void add_machine_test_case(const char *mname)
 {
     char *path, *args;
 
-    /* Ignore blacklisted machines */
-    if (!memcmp("xenfv", mname, 5) || g_str_equal("xenpv", mname)) {
-        return;
-    }
-
     path = g_strdup_printf("device/introspect/concrete/defaults/%s", mname);
     args = g_strdup_printf("-M %s", mname);
     qtest_add_data_func(path, args, test_device_intro_concrete);