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