aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/cdrom-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/cdrom-test.c')
-rw-r--r--tests/qtest/cdrom-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/cdrom-test.c b/tests/qtest/cdrom-test.c
index cfca24f..fdd889a 100644
--- a/tests/qtest/cdrom-test.c
+++ b/tests/qtest/cdrom-test.c
@@ -138,7 +138,7 @@ static void add_x86_tests(void)
* Unstable CI test under load
* See https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg05509.html
*/
- if (g_test_slow()) {
+ if (g_test_slow() && qtest_has_machine("isapc")) {
qtest_add_data_func("cdrom/boot/isapc", "-M isapc "
"-drive if=ide,media=cdrom,file=", test_cdboot);
}