diff mbox series

[PULL,v5,11/11] test/qtest: add xepvh to skip list for qtest

Message ID 20230615235254.1366267-11-sstabellini@kernel.org (mailing list archive)
State New, archived
Headers show
Series [PULL,v5,01/11] hw/i386/xen/: move xen-mapcache.c to hw/xen/ | expand

Commit Message

Stefano Stabellini June 15, 2023, 11:52 p.m. UTC
From: Vikram Garhwal <vikram.garhwal@amd.com>

Like existing xen machines, xenpvh also cannot be used for qtest.

Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
---
 tests/qtest/libqtest.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/qtest/libqtest.c b/tests/qtest/libqtest.c
index 77de16227f..de03ef5f60 100644
--- a/tests/qtest/libqtest.c
+++ b/tests/qtest/libqtest.c
@@ -1465,7 +1465,8 @@  void qtest_cb_for_every_machine(void (*cb)(const char *machine),
     for (i = 0; machines[i].name != NULL; i++) {
         /* Ignore machines that cannot be used for qtests */
         if (!strncmp("xenfv", machines[i].name, 5) ||
-            g_str_equal("xenpv", machines[i].name)) {
+            g_str_equal("xenpv", machines[i].name) ||
+            g_str_equal("xenpvh", machines[i].name)) {
             continue;
         }
         if (!skip_old_versioned ||