[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/11] tests/cdrom-test: Add cdrom test for LoongArch virt machine
From: |
Thomas Huth |
Subject: |
[PULL 02/11] tests/cdrom-test: Add cdrom test for LoongArch virt machine |
Date: |
Fri, 23 Feb 2024 20:09:54 +0100 |
From: Bibo Mao <maobibo@loongson.cn>
The cdrom test skips to execute on LoongArch system with command
"make check", this patch enables cdrom test for LoongArch virt
machine platform.
With this patch, cdrom test passes to run on LoongArch virt
machine type.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Message-ID: <20240217100230.134042-1-maobibo@loongson.cn>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/qtest/cdrom-test.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/qtest/cdrom-test.c b/tests/qtest/cdrom-test.c
index 0945383789..5d89e62515 100644
--- a/tests/qtest/cdrom-test.c
+++ b/tests/qtest/cdrom-test.c
@@ -271,6 +271,11 @@ int main(int argc, char **argv)
const char *virtmachine[] = { "virt", NULL };
add_cdrom_param_tests(virtmachine);
}
+ } else if (g_str_equal(arch, "loongarch64")) {
+ if (qtest_has_device("virtio-blk-pci")) {
+ const char *virtmachine[] = { "virt", NULL };
+ add_cdrom_param_tests(virtmachine);
+ }
} else {
const char *nonemachine[] = { "none", NULL };
add_cdrom_param_tests(nonemachine);
--
2.43.2
- [PULL 00/11] Test and misc patches, Thomas Huth, 2024/02/23
- [PULL 02/11] tests/cdrom-test: Add cdrom test for LoongArch virt machine,
Thomas Huth <=
- [PULL 01/11] target/m68k: Fix exception frame format for 68010, Thomas Huth, 2024/02/23
- [PULL 05/11] target/ppc/kvm: Replace variable length array in kvmppc_save_htab(), Thomas Huth, 2024/02/23
- [PULL 03/11] tests/qtest: Fix boot-serial-test when using --without-default-devices, Thomas Huth, 2024/02/23
- [PULL 04/11] tests: skip dbus-display tests that need a console, Thomas Huth, 2024/02/23
- [PULL 10/11] .gitlab-ci.d/windows.yml: Remove shared-msys2 abstraction, Thomas Huth, 2024/02/23
- [PULL 09/11] .gitlab-ci.d: Drop cross-win32-system job, Thomas Huth, 2024/02/23
- [PULL 11/11] target/i386: do not filter processor tracing features except on KVM, Thomas Huth, 2024/02/23
- [PULL 06/11] target/ppc/kvm: Replace variable length array in kvmppc_read_hptes(), Thomas Huth, 2024/02/23
- [PULL 07/11] meson: Enable -Wvla, Thomas Huth, 2024/02/23
- [PULL 08/11] docs: Document that 32-bit Windows is unsupported, Thomas Huth, 2024/02/23