b697b4
From b071f3eaa77dde1567d70b43d0b2975efe380da2 Mon Sep 17 00:00:00 2001
a83cc2
From: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
Date: Wed, 2 Sep 2020 09:39:41 +0200
a83cc2
Subject: Enable make check
a83cc2
a83cc2
Fixing tests after device disabling and machine types changes and enabling
a83cc2
make check run during build.
a83cc2
a83cc2
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
a83cc2
---
77609c
Rebase changes (6.1.0):
77609c
- removed unnecessary test changes
77609c
b697b4
Rebase changes (6.2.0 RC0):
b697b4
- new way of disabling bios-table-test
b697b4
77609c
Merged patches (6.1.0):
77609c
- 2f129df7d3 redhat: Enable the 'test-block-iothread' test again
77609c
---
77609c
 .distro/qemu-kvm.spec.template      |  5 ++---
a83cc2
 tests/qemu-iotests/051              |  8 ++++----
a83cc2
 tests/qtest/bios-tables-test.c      |  6 +++---
a83cc2
 tests/qtest/boot-serial-test.c      |  6 +++++-
a83cc2
 tests/qtest/cdrom-test.c            |  4 ++++
a83cc2
 tests/qtest/cpu-plug-test.c         |  4 ++--
a83cc2
 tests/qtest/fuzz-e1000e-test.c      |  2 +-
a83cc2
 tests/qtest/fuzz-virtio-scsi-test.c |  2 +-
a83cc2
 tests/qtest/hd-geo-test.c           |  4 ++++
a83cc2
 tests/qtest/lpc-ich9-test.c         |  2 +-
b697b4
 tests/qtest/meson.build             | 13 ++++---------
a83cc2
 tests/qtest/prom-env-test.c         |  4 ++++
a83cc2
 tests/qtest/test-x86-cpuid-compat.c |  2 ++
a83cc2
 tests/qtest/usb-hcd-xhci-test.c     |  4 ++++
b697b4
 14 files changed, 41 insertions(+), 25 deletions(-)
a83cc2
a83cc2
diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051
b697b4
index 1d2fa93a11..c8a2815f54 100755
a83cc2
--- a/tests/qemu-iotests/051
a83cc2
+++ b/tests/qemu-iotests/051
a83cc2
@@ -174,9 +174,9 @@ run_qemu -drive if=virtio
a83cc2
 case "$QEMU_DEFAULT_MACHINE" in
a83cc2
     pc)
a83cc2
         run_qemu -drive if=none,id=disk -device ide-cd,drive=disk
a83cc2
-        run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
a83cc2
+#        run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
a83cc2
         run_qemu -drive if=none,id=disk -device ide-hd,drive=disk
a83cc2
-        run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
a83cc2
+#        run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
a83cc2
         ;;
a83cc2
      *)
a83cc2
         ;;
a83cc2
@@ -225,9 +225,9 @@ run_qemu -drive file="$TEST_IMG",if=virtio,readonly=on
a83cc2
 case "$QEMU_DEFAULT_MACHINE" in
a83cc2
     pc)
a83cc2
         run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device ide-cd,drive=disk
a83cc2
-        run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
a83cc2
+#        run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
a83cc2
         run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device ide-hd,drive=disk
a83cc2
-        run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
a83cc2
+#        run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
a83cc2
         ;;
a83cc2
      *)
a83cc2
         ;;
a83cc2
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
b697b4
index 258874167e..62745181a8 100644
a83cc2
--- a/tests/qtest/bios-tables-test.c
a83cc2
+++ b/tests/qtest/bios-tables-test.c
b697b4
@@ -1371,7 +1371,7 @@ static void test_acpi_virt_tcg_numamem(void)
a83cc2
     free_test_data(&data);
a83cc2
 
a83cc2
 }
a83cc2
-
a83cc2
+#if 0  /* Disabled for Red Hat Enterprise Linux */
a83cc2
 static void test_acpi_virt_tcg_pxb(void)
a83cc2
 {
a83cc2
     test_data data = {
b697b4
@@ -1403,7 +1403,7 @@ static void test_acpi_virt_tcg_pxb(void)
a83cc2
 
a83cc2
     free_test_data(&data);
a83cc2
 }
a83cc2
-
a83cc2
+#endif
a83cc2
 static void test_acpi_tcg_acpi_hmat(const char *machine)
a83cc2
 {
a83cc2
     test_data data;
b697b4
@@ -1644,7 +1644,7 @@ int main(int argc, char *argv[])
b697b4
             qtest_add_func("acpi/virt", test_acpi_virt_tcg);
b697b4
             qtest_add_func("acpi/virt/numamem", test_acpi_virt_tcg_numamem);
b697b4
             qtest_add_func("acpi/virt/memhp", test_acpi_virt_tcg_memhp);
b697b4
-            qtest_add_func("acpi/virt/pxb", test_acpi_virt_tcg_pxb);
b697b4
+/*            qtest_add_func("acpi/virt/pxb", test_acpi_virt_tcg_pxb); */
b697b4
             qtest_add_func("acpi/virt/oem-fields", test_acpi_oem_fields_virt);
b697b4
         }
a83cc2
     }
a83cc2
diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c
b697b4
index 83828ba270..294476b959 100644
a83cc2
--- a/tests/qtest/boot-serial-test.c
a83cc2
+++ b/tests/qtest/boot-serial-test.c
77609c
@@ -148,19 +148,23 @@ static testdef_t tests[] = {
a83cc2
     { "ppc", "g3beige", "", "PowerPC,750" },
a83cc2
     { "ppc", "mac99", "", "PowerPC,G4" },
a83cc2
     { "ppc", "sam460ex", "-m 256", "DRAM:  256 MiB" },
a83cc2
+#if 0 /* Disabled for Red Hat Enterprise Linux */
a83cc2
     { "ppc64", "ppce500", "", "U-Boot" },
a83cc2
     { "ppc64", "40p", "-m 192", "Memory: 192M" },
a83cc2
     { "ppc64", "mac99", "", "PowerPC,970FX" },
a83cc2
+#endif
a83cc2
     { "ppc64", "pseries",
a83cc2
       "-machine " PSERIES_DEFAULT_CAPABILITIES,
a83cc2
       "Open Firmware" },
a83cc2
+#if 0 /* Disabled for Red Hat Enterprise Linux */
a83cc2
     { "ppc64", "powernv8", "", "OPAL" },
a83cc2
     { "ppc64", "powernv9", "", "OPAL" },
a83cc2
     { "ppc64", "sam460ex", "-device e1000", "8086  100e" },
a83cc2
+#endif
a83cc2
     { "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
a83cc2
     { "i386", "pc", "-device sga", "SGABIOS" },
a83cc2
     { "i386", "q35", "-device sga", "SGABIOS" },
a83cc2
-    { "x86_64", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
a83cc2
+    { "x86_64", "pc", "-cpu qemu32 -device sga", "SGABIOS" },
a83cc2
     { "x86_64", "q35", "-device sga", "SGABIOS" },
a83cc2
     { "sparc", "LX", "", "TMS390S10" },
a83cc2
     { "sparc", "SS-4", "", "MB86904" },
a83cc2
diff --git a/tests/qtest/cdrom-test.c b/tests/qtest/cdrom-test.c
a83cc2
index 5af944a5fb..69d9bac38a 100644
a83cc2
--- a/tests/qtest/cdrom-test.c
a83cc2
+++ b/tests/qtest/cdrom-test.c
a83cc2
@@ -140,6 +140,7 @@ static void add_x86_tests(void)
a83cc2
         qtest_add_data_func("cdrom/boot/isapc", "-M isapc "
a83cc2
                             "-drive if=ide,media=cdrom,file=", test_cdboot);
a83cc2
     }
a83cc2
+#if 0  /* Disabled for Red Hat Enterprise Linux */
a83cc2
     qtest_add_data_func("cdrom/boot/am53c974",
a83cc2
                         "-device am53c974 -device scsi-cd,drive=cd1 "
a83cc2
                         "-drive if=none,id=cd1,format=raw,file=", test_cdboot);
a83cc2
@@ -155,6 +156,7 @@ static void add_x86_tests(void)
a83cc2
     qtest_add_data_func("cdrom/boot/megasas-gen2", "-M q35 "
a83cc2
                         "-device megasas-gen2 -device scsi-cd,drive=cd1 "
a83cc2
                         "-blockdev file,node-name=cd1,filename=", test_cdboot);
a83cc2
+#endif
a83cc2
 }
a83cc2
 
a83cc2
 static void add_s390x_tests(void)
a83cc2
@@ -220,6 +222,7 @@ int main(int argc, char **argv)
a83cc2
             "magnum", "malta", "pica61", NULL
a83cc2
         };
a83cc2
         add_cdrom_param_tests(mips64machines);
a83cc2
+#if 0 /* Disabled for Red Hat Enterprise Linux */
a83cc2
     } else if (g_str_equal(arch, "arm") || g_str_equal(arch, "aarch64")) {
a83cc2
         const char *armmachines[] = {
a83cc2
             "realview-eb", "realview-eb-mpcore", "realview-pb-a8",
a83cc2
@@ -227,6 +230,7 @@ int main(int argc, char **argv)
a83cc2
             "vexpress-a9", "virt", NULL
a83cc2
         };
a83cc2
         add_cdrom_param_tests(armmachines);
a83cc2
+#endif
a83cc2
     } else {
a83cc2
         const char *nonemachine[] = { "none", NULL };
a83cc2
         add_cdrom_param_tests(nonemachine);
a83cc2
diff --git a/tests/qtest/cpu-plug-test.c b/tests/qtest/cpu-plug-test.c
a83cc2
index a1c689414b..a8f076711c 100644
a83cc2
--- a/tests/qtest/cpu-plug-test.c
a83cc2
+++ b/tests/qtest/cpu-plug-test.c
a83cc2
@@ -110,8 +110,8 @@ static void add_pseries_test_case(const char *mname)
a83cc2
     char *path;
a83cc2
     PlugTestData *data;
a83cc2
 
a83cc2
-    if (!g_str_has_prefix(mname, "pseries-") ||
a83cc2
-        (g_str_has_prefix(mname, "pseries-2.") && atoi(&mname[10]) < 7)) {
a83cc2
+    if (!g_str_has_prefix(mname, "pseries-rhel") ||
a83cc2
+        (g_str_has_prefix(mname, "pseries-rhel7.") && atoi(&mname[14]) < 4)) {
a83cc2
         return;
a83cc2
     }
a83cc2
     data = g_new(PlugTestData, 1);
a83cc2
diff --git a/tests/qtest/fuzz-e1000e-test.c b/tests/qtest/fuzz-e1000e-test.c
a83cc2
index 66229e6096..947fba73b7 100644
a83cc2
--- a/tests/qtest/fuzz-e1000e-test.c
a83cc2
+++ b/tests/qtest/fuzz-e1000e-test.c
a83cc2
@@ -17,7 +17,7 @@ static void test_lp1879531_eth_get_rss_ex_dst_addr(void)
a83cc2
 {
a83cc2
     QTestState *s;
a83cc2
 
a83cc2
-    s = qtest_init("-nographic -monitor none -serial none -M pc-q35-5.0");
a83cc2
+    s = qtest_init("-nographic -monitor none -serial none -M pc-q35-rhel8.4.0");
a83cc2
 
a83cc2
     qtest_outl(s, 0xcf8, 0x80001010);
a83cc2
     qtest_outl(s, 0xcfc, 0xe1020000);
a83cc2
diff --git a/tests/qtest/fuzz-virtio-scsi-test.c b/tests/qtest/fuzz-virtio-scsi-test.c
a83cc2
index aaf6d10e18..43727d62ac 100644
a83cc2
--- a/tests/qtest/fuzz-virtio-scsi-test.c
a83cc2
+++ b/tests/qtest/fuzz-virtio-scsi-test.c
a83cc2
@@ -19,7 +19,7 @@ static void test_mmio_oob_from_memory_region_cache(void)
a83cc2
 {
a83cc2
     QTestState *s;
a83cc2
 
a83cc2
-    s = qtest_init("-M pc-q35-5.2 -display none -m 512M "
a83cc2
+    s = qtest_init("-M pc-q35-rhel8.4.0 -display none -m 512M "
a83cc2
                    "-device virtio-scsi,num_queues=8,addr=03.0 ");
a83cc2
 
a83cc2
     qtest_outl(s, 0xcf8, 0x80001811);
a83cc2
diff --git a/tests/qtest/hd-geo-test.c b/tests/qtest/hd-geo-test.c
77609c
index 113126ae06..999ef2aace 100644
a83cc2
--- a/tests/qtest/hd-geo-test.c
a83cc2
+++ b/tests/qtest/hd-geo-test.c
a83cc2
@@ -737,6 +737,7 @@ static void test_override_ide(void)
a83cc2
     test_override(args, expected);
a83cc2
 }
a83cc2
 
a83cc2
+#if 0 /* Require lsi53c895a - not supported on RHEL */
a83cc2
 static void test_override_scsi(void)
a83cc2
 {
a83cc2
     TestArgs *args = create_args();
a83cc2
@@ -781,6 +782,7 @@ static void test_override_scsi_2_controllers(void)
a83cc2
     add_scsi_disk(args, 3, 1, 0, 1, 2, 0, 1, 0);
a83cc2
     test_override(args, expected);
a83cc2
 }
a83cc2
+#endif
a83cc2
 
a83cc2
 static void test_override_virtio_blk(void)
a83cc2
 {
a83cc2
@@ -960,9 +962,11 @@ int main(int argc, char **argv)
a83cc2
     qtest_add_func("hd-geo/ide/device/user/chst", test_ide_device_user_chst);
a83cc2
     if (have_qemu_img()) {
a83cc2
         qtest_add_func("hd-geo/override/ide", test_override_ide);
a83cc2
+#if 0 /* Require lsi53c895a - not supported on RHEL */
a83cc2
         qtest_add_func("hd-geo/override/scsi", test_override_scsi);
a83cc2
         qtest_add_func("hd-geo/override/scsi_2_controllers",
a83cc2
                        test_override_scsi_2_controllers);
a83cc2
+#endif
a83cc2
         qtest_add_func("hd-geo/override/virtio_blk", test_override_virtio_blk);
a83cc2
         qtest_add_func("hd-geo/override/zero_chs", test_override_zero_chs);
a83cc2
         qtest_add_func("hd-geo/override/scsi_hot_unplug",
a83cc2
diff --git a/tests/qtest/lpc-ich9-test.c b/tests/qtest/lpc-ich9-test.c
a83cc2
index fe0bef9980..7a9d51579b 100644
a83cc2
--- a/tests/qtest/lpc-ich9-test.c
a83cc2
+++ b/tests/qtest/lpc-ich9-test.c
a83cc2
@@ -15,7 +15,7 @@ static void test_lp1878642_pci_bus_get_irq_level_assert(void)
a83cc2
 {
a83cc2
     QTestState *s;
a83cc2
 
a83cc2
-    s = qtest_init("-M pc-q35-5.0 "
a83cc2
+    s = qtest_init("-M pc-q35-rhel8.4.0 "
a83cc2
                    "-nographic -monitor none -serial none");
a83cc2
 
a83cc2
     qtest_outl(s, 0xcf8, 0x8000f840); /* PMBASE */
a83cc2
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
b697b4
index c9d8458062..049e06c057 100644
a83cc2
--- a/tests/qtest/meson.build
a83cc2
+++ b/tests/qtest/meson.build
b697b4
@@ -68,7 +68,6 @@ qtests_i386 = \
b697b4
   (config_all_devices.has_key('CONFIG_RTL8139_PCI') ? ['rtl8139-test'] : []) +              \
b697b4
   (config_all_devices.has_key('CONFIG_E1000E_PCI_EXPRESS') ? ['fuzz-e1000e-test'] : []) +   \
b697b4
   (config_all_devices.has_key('CONFIG_ESP_PCI') ? ['am53c974-test'] : []) +                 \
b697b4
-  (unpack_edk2_blobs ? ['bios-tables-test'] : []) +                                         \
b697b4
   qtests_pci +                                                                              \
b697b4
   ['fdc-test',
a83cc2
    'ide-test',
77609c
@@ -81,7 +80,6 @@ qtests_i386 = \
a83cc2
    'drive_del-test',
a83cc2
    'tco-test',
a83cc2
    'cpu-plug-test',
a83cc2
-   'q35-test',
a83cc2
    'vmgenid-test',
a83cc2
    'migration-test',
a83cc2
    'test-x86-cpuid-compat',
77609c
@@ -130,17 +128,15 @@ qtests_mips64el = \
a83cc2
 
a83cc2
 qtests_ppc = \
a83cc2
   (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] : []) +            \
a83cc2
-  (config_all_devices.has_key('CONFIG_M48T59') ? ['m48t59-test'] : []) +                     \
a83cc2
-  ['boot-order-test', 'prom-env-test', 'boot-serial-test']                 \
a83cc2
+  (config_all_devices.has_key('CONFIG_M48T59') ? ['m48t59-test'] : [])
a83cc2
 
a83cc2
 qtests_ppc64 = \
a83cc2
   (config_all_devices.has_key('CONFIG_PSERIES') ? ['device-plug-test'] : []) +               \
a83cc2
   (config_all_devices.has_key('CONFIG_POWERNV') ? ['pnv-xscom-test'] : []) +                 \
a83cc2
   (config_all_devices.has_key('CONFIG_PSERIES') ? ['rtas-test'] : []) +                      \
a83cc2
-  (slirp.found() ? ['pxe-test', 'test-netfilter'] : []) +              \
a83cc2
+  (slirp.found() ? ['pxe-test'] : []) +              \
a83cc2
   (config_all_devices.has_key('CONFIG_USB_UHCI') ? ['usb-hcd-uhci-test'] : []) +             \
a83cc2
   (config_all_devices.has_key('CONFIG_USB_XHCI_NEC') ? ['usb-hcd-xhci-test'] : []) +         \
a83cc2
-  (config_host.has_key('CONFIG_POSIX') ? ['test-filter-mirror'] : []) +                      \
a83cc2
   qtests_pci + ['migration-test', 'numa-test', 'cpu-plug-test', 'drive_del-test']
a83cc2
 
a83cc2
 qtests_sh4 = (config_all_devices.has_key('CONFIG_ISA_TESTDEV') ? ['endianness-test'] : [])
b697b4
@@ -186,8 +182,8 @@ qtests_aarch64 = \
a83cc2
   ['arm-cpu-features',
a83cc2
    'numa-test',
a83cc2
    'boot-serial-test',
a83cc2
-   'xlnx-can-test',
b697b4
-   'fuzz-xlnx-dp-test',
a83cc2
+#   'xlnx-can-test',
b697b4
+#   'fuzz-xlnx-dp-test',
a83cc2
    'migration-test']
a83cc2
 
a83cc2
 qtests_s390x = \
b697b4
@@ -196,7 +192,6 @@ qtests_s390x = \
a83cc2
   (config_host.has_key('CONFIG_POSIX') ? ['test-filter-redirector'] : []) +                     \
a83cc2
   ['boot-serial-test',
a83cc2
    'drive_del-test',
a83cc2
-   'device-plug-test',
a83cc2
    'virtio-ccw-test',
a83cc2
    'cpu-plug-test',
a83cc2
    'migration-test']
a83cc2
diff --git a/tests/qtest/prom-env-test.c b/tests/qtest/prom-env-test.c
a83cc2
index f41d80154a..f8dc478ce8 100644
a83cc2
--- a/tests/qtest/prom-env-test.c
a83cc2
+++ b/tests/qtest/prom-env-test.c
a83cc2
@@ -89,10 +89,14 @@ int main(int argc, char *argv[])
a83cc2
     if (!strcmp(arch, "ppc")) {
a83cc2
         add_tests(ppc_machines);
a83cc2
     } else if (!strcmp(arch, "ppc64")) {
a83cc2
+#if 0 /* Disabled for Red Hat Enterprise Linux */
a83cc2
         add_tests(ppc_machines);
a83cc2
         if (g_test_slow()) {
a83cc2
+#endif
a83cc2
             qtest_add_data_func("prom-env/pseries", "pseries", test_machine);
a83cc2
+#if 0 /* Disabled for Red Hat Enterprise Linux */
a83cc2
         }
a83cc2
+#endif
a83cc2
     } else if (!strcmp(arch, "sparc")) {
a83cc2
         add_tests(sparc_machines);
a83cc2
     } else if (!strcmp(arch, "sparc64")) {
a83cc2
diff --git a/tests/qtest/test-x86-cpuid-compat.c b/tests/qtest/test-x86-cpuid-compat.c
a83cc2
index f28848e06e..6b2fd398a2 100644
a83cc2
--- a/tests/qtest/test-x86-cpuid-compat.c
a83cc2
+++ b/tests/qtest/test-x86-cpuid-compat.c
a83cc2
@@ -300,6 +300,7 @@ int main(int argc, char **argv)
a83cc2
                    "-cpu 486,xlevel2=0xC0000002,xstore=on",
a83cc2
                    "xlevel2", 0xC0000002);
a83cc2
 
a83cc2
+#if 0 /* Disabled in Red Hat Enterprise Linux */
a83cc2
     /* Check compatibility of old machine-types that didn't
a83cc2
      * auto-increase level/xlevel/xlevel2: */
a83cc2
 
a83cc2
@@ -350,6 +351,7 @@ int main(int argc, char **argv)
a83cc2
     add_cpuid_test("x86/cpuid/xlevel-compat/pc-i440fx-2.4/npt-on",
a83cc2
                    "-machine pc-i440fx-2.4 -cpu SandyBridge,svm=on,npt=on",
a83cc2
                    "xlevel", 0x80000008);
a83cc2
+#endif
a83cc2
 
a83cc2
     /* Test feature parsing */
a83cc2
     add_feature_test("x86/cpuid/features/plus",
a83cc2
diff --git a/tests/qtest/usb-hcd-xhci-test.c b/tests/qtest/usb-hcd-xhci-test.c
a83cc2
index 10ef9d2a91..3855873050 100644
a83cc2
--- a/tests/qtest/usb-hcd-xhci-test.c
a83cc2
+++ b/tests/qtest/usb-hcd-xhci-test.c
a83cc2
@@ -21,6 +21,7 @@ static void test_xhci_hotplug(void)
a83cc2
     usb_test_hotplug(global_qtest, "xhci", "1", NULL);
a83cc2
 }
a83cc2
 
a83cc2
+#if 0 /* Disabled for Red Hat Enterprise Linux */
a83cc2
 static void test_usb_uas_hotplug(void)
a83cc2
 {
a83cc2
     QTestState *qts = global_qtest;
a83cc2
@@ -36,6 +37,7 @@ static void test_usb_uas_hotplug(void)
a83cc2
     qtest_qmp_device_del(qts, "scsihd");
a83cc2
     qtest_qmp_device_del(qts, "uas");
a83cc2
 }
a83cc2
+#endif
a83cc2
 
a83cc2
 static void test_usb_ccid_hotplug(void)
a83cc2
 {
a83cc2
@@ -56,7 +58,9 @@ int main(int argc, char **argv)
a83cc2
 
a83cc2
     qtest_add_func("/xhci/pci/init", test_xhci_init);
a83cc2
     qtest_add_func("/xhci/pci/hotplug", test_xhci_hotplug);
a83cc2
+#if 0 /* Disabled for Red Hat Enterprise Linux */
a83cc2
     qtest_add_func("/xhci/pci/hotplug/usb-uas", test_usb_uas_hotplug);
a83cc2
+#endif
a83cc2
     qtest_add_func("/xhci/pci/hotplug/usb-ccid", test_usb_ccid_hotplug);
a83cc2
 
a83cc2
     qtest_start("-device nec-usb-xhci,id=xhci"
a83cc2
-- 
a83cc2
2.27.0
a83cc2