|
|
a83cc2 |
From 5f6a55a218029af944a8d02ab9264647315890d3 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 |
---
|
|
|
a83cc2 |
redhat/qemu-kvm.spec.template | 6 ++----
|
|
|
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/e1000-test.c | 2 ++
|
|
|
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/libqos/meson.build | 2 +-
|
|
|
a83cc2 |
tests/qtest/lpc-ich9-test.c | 2 +-
|
|
|
a83cc2 |
tests/qtest/meson.build | 11 +++--------
|
|
|
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 ++++
|
|
|
a83cc2 |
tests/unit/meson.build | 2 +-
|
|
|
a83cc2 |
17 files changed, 44 insertions(+), 27 deletions(-)
|
|
|
a83cc2 |
|
|
|
a83cc2 |
diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051
|
|
|
a83cc2 |
index 7bf29343d7..fd63402d78 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
|
|
|
a83cc2 |
index 156d4174aa..b4a1074b77 100644
|
|
|
a83cc2 |
--- a/tests/qtest/bios-tables-test.c
|
|
|
a83cc2 |
+++ b/tests/qtest/bios-tables-test.c
|
|
|
a83cc2 |
@@ -1299,7 +1299,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 = {
|
|
|
a83cc2 |
@@ -1331,7 +1331,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;
|
|
|
a83cc2 |
@@ -1561,7 +1561,7 @@ int main(int argc, char *argv[])
|
|
|
a83cc2 |
qtest_add_func("acpi/virt", test_acpi_virt_tcg);
|
|
|
a83cc2 |
qtest_add_func("acpi/virt/numamem", test_acpi_virt_tcg_numamem);
|
|
|
a83cc2 |
qtest_add_func("acpi/virt/memhp", test_acpi_virt_tcg_memhp);
|
|
|
a83cc2 |
- qtest_add_func("acpi/virt/pxb", test_acpi_virt_tcg_pxb);
|
|
|
a83cc2 |
+/* qtest_add_func("acpi/virt/pxb", test_acpi_virt_tcg_pxb); */
|
|
|
a83cc2 |
qtest_add_func("acpi/virt/oem-fields", test_acpi_oem_fields_virt);
|
|
|
a83cc2 |
}
|
|
|
a83cc2 |
ret = g_test_run();
|
|
|
a83cc2 |
diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c
|
|
|
a83cc2 |
index d74509b1c5..a64c55e384 100644
|
|
|
a83cc2 |
--- a/tests/qtest/boot-serial-test.c
|
|
|
a83cc2 |
+++ b/tests/qtest/boot-serial-test.c
|
|
|
a83cc2 |
@@ -120,19 +120,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/e1000-test.c b/tests/qtest/e1000-test.c
|
|
|
a83cc2 |
index ea286d1793..a1847ac8ed 100644
|
|
|
a83cc2 |
--- a/tests/qtest/e1000-test.c
|
|
|
a83cc2 |
+++ b/tests/qtest/e1000-test.c
|
|
|
a83cc2 |
@@ -22,9 +22,11 @@ struct QE1000 {
|
|
|
a83cc2 |
|
|
|
a83cc2 |
static const char *models[] = {
|
|
|
a83cc2 |
"e1000",
|
|
|
a83cc2 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
a83cc2 |
"e1000-82540em",
|
|
|
a83cc2 |
"e1000-82544gc",
|
|
|
a83cc2 |
"e1000-82545em",
|
|
|
a83cc2 |
+#endif
|
|
|
a83cc2 |
};
|
|
|
a83cc2 |
|
|
|
a83cc2 |
static void *e1000_get_driver(void *obj, const char *interface)
|
|
|
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
|
|
|
a83cc2 |
index f7b7cfbc2d..99cccf8638 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/libqos/meson.build b/tests/qtest/libqos/meson.build
|
|
|
a83cc2 |
index 1cddf5bdaa..2f4a564105 100644
|
|
|
a83cc2 |
--- a/tests/qtest/libqos/meson.build
|
|
|
a83cc2 |
+++ b/tests/qtest/libqos/meson.build
|
|
|
a83cc2 |
@@ -41,7 +41,7 @@ libqos_srcs = files('../libqtest.c',
|
|
|
a83cc2 |
'virtio-serial.c',
|
|
|
a83cc2 |
|
|
|
a83cc2 |
# qgraph machines:
|
|
|
a83cc2 |
- 'aarch64-xlnx-zcu102-machine.c',
|
|
|
a83cc2 |
+# 'aarch64-xlnx-zcu102-machine.c',
|
|
|
a83cc2 |
'arm-imx25-pdk-machine.c',
|
|
|
a83cc2 |
'arm-n800-machine.c',
|
|
|
a83cc2 |
'arm-raspi2-machine.c',
|
|
|
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
|
|
|
a83cc2 |
index 0c76738921..b9a7426a7b 100644
|
|
|
a83cc2 |
--- a/tests/qtest/meson.build
|
|
|
a83cc2 |
+++ b/tests/qtest/meson.build
|
|
|
a83cc2 |
@@ -71,7 +71,6 @@ qtests_i386 = \
|
|
|
a83cc2 |
'ide-test',
|
|
|
a83cc2 |
'hd-geo-test',
|
|
|
a83cc2 |
'boot-order-test',
|
|
|
a83cc2 |
- 'bios-tables-test',
|
|
|
a83cc2 |
'rtc-test',
|
|
|
a83cc2 |
'i440fx-test',
|
|
|
a83cc2 |
'fw_cfg-test',
|
|
|
a83cc2 |
@@ -79,7 +78,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',
|
|
|
a83cc2 |
@@ -130,17 +128,15 @@ qtests_moxie = [ 'boot-serial-test' ]
|
|
|
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'] : [])
|
|
|
a83cc2 |
@@ -183,7 +179,7 @@ qtests_aarch64 = \
|
|
|
a83cc2 |
['arm-cpu-features',
|
|
|
a83cc2 |
'numa-test',
|
|
|
a83cc2 |
'boot-serial-test',
|
|
|
a83cc2 |
- 'xlnx-can-test',
|
|
|
a83cc2 |
+# 'xlnx-can-test',
|
|
|
a83cc2 |
'migration-test']
|
|
|
a83cc2 |
|
|
|
a83cc2 |
qtests_s390x = \
|
|
|
a83cc2 |
@@ -192,7 +188,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 |
diff --git a/tests/unit/meson.build b/tests/unit/meson.build
|
|
|
a83cc2 |
index b3bc2109da..244d35f5d4 100644
|
|
|
a83cc2 |
--- a/tests/unit/meson.build
|
|
|
a83cc2 |
+++ b/tests/unit/meson.build
|
|
|
a83cc2 |
@@ -65,7 +65,7 @@ if have_block
|
|
|
a83cc2 |
'test-blockjob': [testblock],
|
|
|
a83cc2 |
'test-blockjob-txn': [testblock],
|
|
|
a83cc2 |
'test-block-backend': [testblock],
|
|
|
a83cc2 |
- 'test-block-iothread': [testblock],
|
|
|
a83cc2 |
+# 'test-block-iothread': [testblock],
|
|
|
a83cc2 |
'test-write-threshold': [testblock],
|
|
|
a83cc2 |
'test-crypto-hash': [crypto],
|
|
|
a83cc2 |
'test-crypto-hmac': [crypto],
|
|
|
a83cc2 |
--
|
|
|
a83cc2 |
2.27.0
|
|
|
a83cc2 |
|