|
|
ddf19c |
From 154215041df085271a780a2989f4f481226e3e34 Mon Sep 17 00:00:00 2001
|
|
|
ddf19c |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
ddf19c |
Date: Fri, 19 Oct 2018 13:48:41 +0200
|
|
|
ddf19c |
Subject: Enable make check
|
|
|
ddf19c |
|
|
|
ddf19c |
Fixing tests after device disabling and machine types changes and enabling
|
|
|
ddf19c |
make check run during build.
|
|
|
ddf19c |
|
|
|
ddf19c |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
ddf19c |
|
|
|
ddf19c |
Rebase changes (4.0.0):
|
|
|
ddf19c |
- Remove testing for pseries-2.7 in endianess test
|
|
|
ddf19c |
- Disable device-plug-test on s390x as it use disabled device
|
|
|
ddf19c |
- Do not run cpu-plug-tests on 7.3 and older machine types
|
|
|
ddf19c |
|
|
|
ddf19c |
Rebase changes (4.1.0-rc0):
|
|
|
ddf19c |
- removed iotests 068
|
|
|
ddf19c |
|
|
|
ddf19c |
Rebase changes (4.1.0-rc1):
|
|
|
ddf19c |
- remove all 205 tests (unstable)
|
|
|
ddf19c |
|
|
|
ddf19c |
Rebase changes (4.2.0-rc0):
|
|
|
ddf19c |
- partially disable hd-geo-test (requires lsi53c895a)
|
|
|
ddf19c |
|
|
|
ddf19c |
Merged patches (4.0.0):
|
|
|
ddf19c |
- f7ffd13 Remove 7 qcow2 and luks iotests that are taking > 25 sec to run during the fast train build proce
|
|
|
ddf19c |
|
|
|
ddf19c |
Merged patches (4.1.0-rc0):
|
|
|
ddf19c |
- 41288ff redhat: Remove raw iotest 205
|
|
|
ddf19c |
|
|
|
ddf19c |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
ddf19c |
---
|
|
|
ddf19c |
redhat/qemu-kvm.spec.template | 2 +-
|
|
|
ddf19c |
tests/Makefile.include | 10 +++++-----
|
|
|
ddf19c |
tests/boot-serial-test.c | 6 +++++-
|
|
|
ddf19c |
tests/cpu-plug-test.c | 4 ++--
|
|
|
ddf19c |
tests/e1000-test.c | 2 ++
|
|
|
ddf19c |
tests/hd-geo-test.c | 4 ++++
|
|
|
ddf19c |
tests/prom-env-test.c | 4 ++++
|
|
|
ddf19c |
tests/qemu-iotests/051 | 12 ++++++------
|
|
|
ddf19c |
tests/qemu-iotests/group | 4 ++--
|
|
|
ddf19c |
tests/test-x86-cpuid-compat.c | 2 ++
|
|
|
ddf19c |
tests/usb-hcd-xhci-test.c | 4 ++++
|
|
|
ddf19c |
11 files changed, 37 insertions(+), 17 deletions(-)
|
|
|
ddf19c |
|
|
|
ddf19c |
diff --git a/tests/Makefile.include b/tests/Makefile.include
|
|
|
ddf19c |
index b483790cf3..53bdbdfee0 100644
|
|
|
ddf19c |
--- a/tests/Makefile.include
|
|
|
ddf19c |
+++ b/tests/Makefile.include
|
|
|
ddf19c |
@@ -172,7 +172,7 @@ check-qtest-i386-y += tests/ide-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-i386-y += tests/ahci-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-i386-y += tests/hd-geo-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-i386-y += tests/boot-order-test$(EXESUF)
|
|
|
ddf19c |
-check-qtest-i386-y += tests/bios-tables-test$(EXESUF)
|
|
|
ddf19c |
+#check-qtest-i386-y += tests/bios-tables-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-i386-$(CONFIG_SGA) += tests/boot-serial-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-i386-$(CONFIG_SLIRP) += tests/pxe-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-i386-y += tests/rtc-test$(EXESUF)
|
|
|
ddf19c |
@@ -230,7 +230,7 @@ check-qtest-mips64el-$(CONFIG_VGA) += tests/display-vga-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-moxie-y += tests/boot-serial-test$(EXESUF)
|
|
|
ddf19c |
|
|
|
ddf19c |
check-qtest-ppc-$(CONFIG_ISA_TESTDEV) = tests/endianness-test$(EXESUF)
|
|
|
ddf19c |
-check-qtest-ppc-y += tests/boot-order-test$(EXESUF)
|
|
|
ddf19c |
+#check-qtest-ppc-y += tests/boot-order-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc-y += tests/prom-env-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc-y += tests/drive_del-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc-y += tests/boot-serial-test$(EXESUF)
|
|
|
ddf19c |
@@ -244,8 +244,8 @@ check-qtest-ppc64-$(CONFIG_PSERIES) += tests/rtas-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc64-$(CONFIG_SLIRP) += tests/pxe-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc64-$(CONFIG_USB_UHCI) += tests/usb-hcd-uhci-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc64-$(CONFIG_USB_XHCI_NEC) += tests/usb-hcd-xhci-test$(EXESUF)
|
|
|
ddf19c |
-check-qtest-ppc64-$(CONFIG_SLIRP) += tests/test-netfilter$(EXESUF)
|
|
|
ddf19c |
-check-qtest-ppc64-$(CONFIG_POSIX) += tests/test-filter-mirror$(EXESUF)
|
|
|
ddf19c |
+#check-qtest-ppc64-$(CONFIG_SLIRP) += tests/test-netfilter$(EXESUF)
|
|
|
ddf19c |
+#check-qtest-ppc64-$(CONFIG_POSIX) += tests/test-filter-mirror$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc64-$(CONFIG_RTL8139_PCI) += tests/test-filter-redirector$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc64-$(CONFIG_VGA) += tests/display-vga-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-ppc64-y += tests/numa-test$(EXESUF)
|
|
|
ddf19c |
@@ -291,7 +291,7 @@ check-qtest-s390x-$(CONFIG_SLIRP) += tests/test-netfilter$(EXESUF)
|
|
|
ddf19c |
check-qtest-s390x-$(CONFIG_POSIX) += tests/test-filter-mirror$(EXESUF)
|
|
|
ddf19c |
check-qtest-s390x-$(CONFIG_POSIX) += tests/test-filter-redirector$(EXESUF)
|
|
|
ddf19c |
check-qtest-s390x-y += tests/drive_del-test$(EXESUF)
|
|
|
ddf19c |
-check-qtest-s390x-y += tests/device-plug-test$(EXESUF)
|
|
|
ddf19c |
+#check-qtest-s390x-y += tests/device-plug-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-s390x-y += tests/virtio-ccw-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-s390x-y += tests/cpu-plug-test$(EXESUF)
|
|
|
ddf19c |
check-qtest-s390x-y += tests/migration-test$(EXESUF)
|
|
|
ddf19c |
diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c
|
|
|
ddf19c |
index d3a54a0ba5..33ce72b89c 100644
|
|
|
ddf19c |
--- a/tests/boot-serial-test.c
|
|
|
ddf19c |
+++ b/tests/boot-serial-test.c
|
|
|
ddf19c |
@@ -108,19 +108,23 @@ static testdef_t tests[] = {
|
|
|
ddf19c |
{ "ppc", "g3beige", "", "PowerPC,750" },
|
|
|
ddf19c |
{ "ppc", "mac99", "", "PowerPC,G4" },
|
|
|
ddf19c |
{ "ppc", "sam460ex", "-m 256", "DRAM: 256 MiB" },
|
|
|
ddf19c |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ddf19c |
{ "ppc64", "ppce500", "", "U-Boot" },
|
|
|
ddf19c |
{ "ppc64", "40p", "-m 192", "Memory: 192M" },
|
|
|
ddf19c |
{ "ppc64", "mac99", "", "PowerPC,970FX" },
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
{ "ppc64", "pseries",
|
|
|
ddf19c |
"-machine cap-cfpc=broken,cap-sbbc=broken,cap-ibs=broken",
|
|
|
ddf19c |
"Open Firmware" },
|
|
|
ddf19c |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ddf19c |
{ "ppc64", "powernv8", "", "OPAL" },
|
|
|
ddf19c |
{ "ppc64", "powernv9", "", "OPAL" },
|
|
|
ddf19c |
{ "ppc64", "sam460ex", "-device e1000", "8086 100e" },
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
{ "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
|
|
|
ddf19c |
{ "i386", "pc", "-device sga", "SGABIOS" },
|
|
|
ddf19c |
{ "i386", "q35", "-device sga", "SGABIOS" },
|
|
|
ddf19c |
- { "x86_64", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
|
|
|
ddf19c |
+ { "x86_64", "pc", "-cpu qemu32 -device sga", "SGABIOS" },
|
|
|
ddf19c |
{ "x86_64", "q35", "-device sga", "SGABIOS" },
|
|
|
ddf19c |
{ "sparc", "LX", "", "TMS390S10" },
|
|
|
ddf19c |
{ "sparc", "SS-4", "", "MB86904" },
|
|
|
ddf19c |
diff --git a/tests/cpu-plug-test.c b/tests/cpu-plug-test.c
|
|
|
ddf19c |
index 30e514bbfb..a04beae1c6 100644
|
|
|
ddf19c |
--- a/tests/cpu-plug-test.c
|
|
|
ddf19c |
+++ b/tests/cpu-plug-test.c
|
|
|
ddf19c |
@@ -185,8 +185,8 @@ static void add_pseries_test_case(const char *mname)
|
|
|
ddf19c |
char *path;
|
|
|
ddf19c |
PlugTestData *data;
|
|
|
ddf19c |
|
|
|
ddf19c |
- if (!g_str_has_prefix(mname, "pseries-") ||
|
|
|
ddf19c |
- (g_str_has_prefix(mname, "pseries-2.") && atoi(&mname[10]) < 7)) {
|
|
|
ddf19c |
+ if (!g_str_has_prefix(mname, "pseries-rhel") ||
|
|
|
ddf19c |
+ (g_str_has_prefix(mname, "pseries-rhel7.") && atoi(&mname[14]) < 4)) {
|
|
|
ddf19c |
return;
|
|
|
ddf19c |
}
|
|
|
ddf19c |
data = g_new(PlugTestData, 1);
|
|
|
ddf19c |
diff --git a/tests/e1000-test.c b/tests/e1000-test.c
|
|
|
ddf19c |
index c387984ef6..c89112d6f8 100644
|
|
|
ddf19c |
--- a/tests/e1000-test.c
|
|
|
ddf19c |
+++ b/tests/e1000-test.c
|
|
|
ddf19c |
@@ -22,9 +22,11 @@ struct QE1000 {
|
|
|
ddf19c |
|
|
|
ddf19c |
static const char *models[] = {
|
|
|
ddf19c |
"e1000",
|
|
|
ddf19c |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ddf19c |
"e1000-82540em",
|
|
|
ddf19c |
"e1000-82544gc",
|
|
|
ddf19c |
"e1000-82545em",
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
};
|
|
|
ddf19c |
|
|
|
ddf19c |
static void *e1000_get_driver(void *obj, const char *interface)
|
|
|
ddf19c |
diff --git a/tests/hd-geo-test.c b/tests/hd-geo-test.c
|
|
|
ddf19c |
index 7e86c5416c..cc068bad87 100644
|
|
|
ddf19c |
--- a/tests/hd-geo-test.c
|
|
|
ddf19c |
+++ b/tests/hd-geo-test.c
|
|
|
ddf19c |
@@ -732,6 +732,7 @@ static void test_override_ide(void)
|
|
|
ddf19c |
test_override(args, expected);
|
|
|
ddf19c |
}
|
|
|
ddf19c |
|
|
|
ddf19c |
+#if 0 /* Require lsi53c895a - not supported on RHEL */
|
|
|
ddf19c |
static void test_override_scsi(void)
|
|
|
ddf19c |
{
|
|
|
ddf19c |
TestArgs *args = create_args();
|
|
|
ddf19c |
@@ -776,6 +777,7 @@ static void test_override_scsi_2_controllers(void)
|
|
|
ddf19c |
add_scsi_disk(args, 3, 1, 0, 1, 2, 0, 1, 0);
|
|
|
ddf19c |
test_override(args, expected);
|
|
|
ddf19c |
}
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
|
|
|
ddf19c |
static void test_override_virtio_blk(void)
|
|
|
ddf19c |
{
|
|
|
ddf19c |
@@ -951,9 +953,11 @@ int main(int argc, char **argv)
|
|
|
ddf19c |
qtest_add_func("hd-geo/ide/device/user/chst", test_ide_device_user_chst);
|
|
|
ddf19c |
if (have_qemu_img()) {
|
|
|
ddf19c |
qtest_add_func("hd-geo/override/ide", test_override_ide);
|
|
|
ddf19c |
+#if 0 /* Require lsi53c895a - not supported on RHEL */
|
|
|
ddf19c |
qtest_add_func("hd-geo/override/scsi", test_override_scsi);
|
|
|
ddf19c |
qtest_add_func("hd-geo/override/scsi_2_controllers",
|
|
|
ddf19c |
test_override_scsi_2_controllers);
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
qtest_add_func("hd-geo/override/virtio_blk", test_override_virtio_blk);
|
|
|
ddf19c |
qtest_add_func("hd-geo/override/zero_chs", test_override_zero_chs);
|
|
|
ddf19c |
qtest_add_func("hd-geo/override/scsi_hot_unplug",
|
|
|
ddf19c |
diff --git a/tests/prom-env-test.c b/tests/prom-env-test.c
|
|
|
ddf19c |
index 61bc1d1e7b..028d45c7d7 100644
|
|
|
ddf19c |
--- a/tests/prom-env-test.c
|
|
|
ddf19c |
+++ b/tests/prom-env-test.c
|
|
|
ddf19c |
@@ -88,10 +88,14 @@ int main(int argc, char *argv[])
|
|
|
ddf19c |
if (!strcmp(arch, "ppc")) {
|
|
|
ddf19c |
add_tests(ppc_machines);
|
|
|
ddf19c |
} else if (!strcmp(arch, "ppc64")) {
|
|
|
ddf19c |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ddf19c |
add_tests(ppc_machines);
|
|
|
ddf19c |
if (g_test_slow()) {
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
qtest_add_data_func("prom-env/pseries", "pseries", test_machine);
|
|
|
ddf19c |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ddf19c |
}
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
} else if (!strcmp(arch, "sparc")) {
|
|
|
ddf19c |
add_tests(sparc_machines);
|
|
|
ddf19c |
} else if (!strcmp(arch, "sparc64")) {
|
|
|
ddf19c |
diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051
|
|
|
ddf19c |
index 53bcdbc911..b387e0c233 100755
|
|
|
ddf19c |
--- a/tests/qemu-iotests/051
|
|
|
ddf19c |
+++ b/tests/qemu-iotests/051
|
|
|
ddf19c |
@@ -181,11 +181,11 @@ run_qemu -drive if=virtio
|
|
|
ddf19c |
case "$QEMU_DEFAULT_MACHINE" in
|
|
|
ddf19c |
pc)
|
|
|
ddf19c |
run_qemu -drive if=none,id=disk -device ide-cd,drive=disk
|
|
|
ddf19c |
- run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
|
|
|
ddf19c |
+# run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
|
|
|
ddf19c |
run_qemu -drive if=none,id=disk -device ide-drive,drive=disk
|
|
|
ddf19c |
run_qemu -drive if=none,id=disk -device ide-hd,drive=disk
|
|
|
ddf19c |
- run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk
|
|
|
ddf19c |
- run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
|
|
|
ddf19c |
+# run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk
|
|
|
ddf19c |
+# run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
|
|
|
ddf19c |
;;
|
|
|
ddf19c |
*)
|
|
|
ddf19c |
;;
|
|
|
ddf19c |
@@ -234,11 +234,11 @@ run_qemu -drive file="$TEST_IMG",if=virtio,readonly=on
|
|
|
ddf19c |
case "$QEMU_DEFAULT_MACHINE" in
|
|
|
ddf19c |
pc)
|
|
|
ddf19c |
run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device ide-cd,drive=disk
|
|
|
ddf19c |
- run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
|
|
|
ddf19c |
+# run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
|
|
|
ddf19c |
run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device ide-drive,drive=disk
|
|
|
ddf19c |
run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device ide-hd,drive=disk
|
|
|
ddf19c |
- run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk
|
|
|
ddf19c |
- run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
|
|
|
ddf19c |
+# run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk
|
|
|
ddf19c |
+# run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
|
|
|
ddf19c |
;;
|
|
|
ddf19c |
*)
|
|
|
ddf19c |
;;
|
|
|
ddf19c |
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
|
|
|
ddf19c |
index 6b10a6a762..06cc734b26 100644
|
|
|
ddf19c |
--- a/tests/qemu-iotests/group
|
|
|
ddf19c |
+++ b/tests/qemu-iotests/group
|
|
|
ddf19c |
@@ -92,7 +92,7 @@
|
|
|
ddf19c |
068 rw quick
|
|
|
ddf19c |
069 rw auto quick
|
|
|
ddf19c |
070 rw quick
|
|
|
ddf19c |
-071 rw auto quick
|
|
|
ddf19c |
+# 071 rw auto quick -- requires whitelisted blkverify
|
|
|
ddf19c |
072 rw auto quick
|
|
|
ddf19c |
073 rw auto quick
|
|
|
ddf19c |
074 rw auto quick
|
|
|
ddf19c |
@@ -120,7 +120,7 @@
|
|
|
ddf19c |
096 rw quick
|
|
|
ddf19c |
097 rw auto backing
|
|
|
ddf19c |
098 rw auto backing quick
|
|
|
ddf19c |
-099 rw auto quick
|
|
|
ddf19c |
+# 099 rw auto quick -- requires whitelisted blkverify
|
|
|
ddf19c |
# 100 was removed, do not reuse
|
|
|
ddf19c |
101 rw quick
|
|
|
ddf19c |
102 rw quick
|
|
|
ddf19c |
diff --git a/tests/test-x86-cpuid-compat.c b/tests/test-x86-cpuid-compat.c
|
|
|
ddf19c |
index 772287bdb4..e7c075ed98 100644
|
|
|
ddf19c |
--- a/tests/test-x86-cpuid-compat.c
|
|
|
ddf19c |
+++ b/tests/test-x86-cpuid-compat.c
|
|
|
ddf19c |
@@ -300,6 +300,7 @@ int main(int argc, char **argv)
|
|
|
ddf19c |
"-cpu 486,xlevel2=0xC0000002,+xstore",
|
|
|
ddf19c |
"xlevel2", 0xC0000002);
|
|
|
ddf19c |
|
|
|
ddf19c |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ddf19c |
/* Check compatibility of old machine-types that didn't
|
|
|
ddf19c |
* auto-increase level/xlevel/xlevel2: */
|
|
|
ddf19c |
|
|
|
ddf19c |
@@ -350,6 +351,7 @@ int main(int argc, char **argv)
|
|
|
ddf19c |
add_cpuid_test("x86/cpuid/xlevel-compat/pc-i440fx-2.4/npt-on",
|
|
|
ddf19c |
"-machine pc-i440fx-2.4 -cpu SandyBridge,+npt",
|
|
|
ddf19c |
"xlevel", 0x80000008);
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
|
|
|
ddf19c |
/* Test feature parsing */
|
|
|
ddf19c |
add_feature_test("x86/cpuid/features/plus",
|
|
|
ddf19c |
diff --git a/tests/usb-hcd-xhci-test.c b/tests/usb-hcd-xhci-test.c
|
|
|
ddf19c |
index 10ef9d2a91..3855873050 100644
|
|
|
ddf19c |
--- a/tests/usb-hcd-xhci-test.c
|
|
|
ddf19c |
+++ b/tests/usb-hcd-xhci-test.c
|
|
|
ddf19c |
@@ -21,6 +21,7 @@ static void test_xhci_hotplug(void)
|
|
|
ddf19c |
usb_test_hotplug(global_qtest, "xhci", "1", NULL);
|
|
|
ddf19c |
}
|
|
|
ddf19c |
|
|
|
ddf19c |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ddf19c |
static void test_usb_uas_hotplug(void)
|
|
|
ddf19c |
{
|
|
|
ddf19c |
QTestState *qts = global_qtest;
|
|
|
ddf19c |
@@ -36,6 +37,7 @@ static void test_usb_uas_hotplug(void)
|
|
|
ddf19c |
qtest_qmp_device_del(qts, "scsihd");
|
|
|
ddf19c |
qtest_qmp_device_del(qts, "uas");
|
|
|
ddf19c |
}
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
|
|
|
ddf19c |
static void test_usb_ccid_hotplug(void)
|
|
|
ddf19c |
{
|
|
|
ddf19c |
@@ -56,7 +58,9 @@ int main(int argc, char **argv)
|
|
|
ddf19c |
|
|
|
ddf19c |
qtest_add_func("/xhci/pci/init", test_xhci_init);
|
|
|
ddf19c |
qtest_add_func("/xhci/pci/hotplug", test_xhci_hotplug);
|
|
|
ddf19c |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ddf19c |
qtest_add_func("/xhci/pci/hotplug/usb-uas", test_usb_uas_hotplug);
|
|
|
ddf19c |
+#endif
|
|
|
ddf19c |
qtest_add_func("/xhci/pci/hotplug/usb-ccid", test_usb_ccid_hotplug);
|
|
|
ddf19c |
|
|
|
ddf19c |
qtest_start("-device nec-usb-xhci,id=xhci"
|
|
|
ddf19c |
--
|
|
|
ddf19c |
2.21.0
|
|
|
ddf19c |
|