[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 21/27] tests/qtest/boot-serial-test: Constify tests[] array
From: |
Thomas Huth |
Subject: |
[PULL 21/27] tests/qtest/boot-serial-test: Constify tests[] array |
Date: |
Tue, 31 Jan 2023 11:11:59 +0100 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230120082341.59913-2-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/qtest/boot-serial-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c
index b216519b62..3aef3a97a9 100644
--- a/tests/qtest/boot-serial-test.c
+++ b/tests/qtest/boot-serial-test.c
@@ -139,7 +139,7 @@ typedef struct testdef {
const uint8_t *bios; /* Set in case we use our own mini bios */
} testdef_t;
-static testdef_t tests[] = {
+static const testdef_t tests[] = {
{ "alpha", "clipper", "", "PCI:" },
{ "avr", "arduino-duemilanove", "", "T", sizeof(bios_avr), NULL, bios_avr
},
{ "avr", "arduino-mega-2560-v3", "", "T", sizeof(bios_avr), NULL,
bios_avr},
--
2.31.1
- [PULL 15/27] MAINTAINERS: Abort HAXM maintenance, (continued)
- [PULL 15/27] MAINTAINERS: Abort HAXM maintenance, Thomas Huth, 2023/01/31
- [PULL 13/27] qemu/bswap: Use compiler __builtin_bswap() on FreeBSD, Thomas Huth, 2023/01/31
- [PULL 17/27] tests/tcg: Do not build/run TCG tests if TCG is disabled, Thomas Huth, 2023/01/31
- [PULL 08/27] tests/docker/dockerfiles: Add libfdt to the i386 and to the riscv64 container, Thomas Huth, 2023/01/31
- [PULL 20/27] tests/qtest/vnc-display-test: Disable on Darwin, Thomas Huth, 2023/01/31
- [PULL 11/27] qemu/bswap: Remove <byteswap.h> dependency, Thomas Huth, 2023/01/31
- [PULL 14/27] qemu/bswap: Use compiler __builtin_bswap() on NetBSD, Thomas Huth, 2023/01/31
- [PULL 10/27] qemu/bswap: Replace bswapXXs() by compiler __builtin_bswap(), Thomas Huth, 2023/01/31
- [PULL 16/27] docs/about/deprecated: Mark HAXM in QEMU as deprecated, Thomas Huth, 2023/01/31
- [PULL 19/27] tests/qtest/vnc-display-test: Use the 'none' machine, Thomas Huth, 2023/01/31
- [PULL 21/27] tests/qtest/boot-serial-test: Constify tests[] array,
Thomas Huth <=
- [PULL 12/27] qemu/bswap: Use compiler __builtin_bswap() on Haiku, Thomas Huth, 2023/01/31
- [PULL 07/27] travis.yml: Remove the generic addons section, Thomas Huth, 2023/01/31
- [PULL 18/27] tests/qtest/vnc-display-test: Suppress build warnings on Windows, Thomas Huth, 2023/01/31
- [PULL 22/27] docs/s390x/pcidevices: document pci devices on s390x, Thomas Huth, 2023/01/31
- [PULL 23/27] qapi, audio: add query-audiodev command, Thomas Huth, 2023/01/31
- [PULL 04/27] hw/misc/sifive_u_otp: Remove the deprecated OTP config with '-drive if=none', Thomas Huth, 2023/01/31
- [PULL 24/27] qapi, audio: Make introspection reflect build configuration more closely, Thomas Huth, 2023/01/31
- [PULL 26/27] tests/qtest/display-vga-test: Add proper checks if a device is available, Thomas Huth, 2023/01/31
- [PULL 27/27] gitlab-ci.d/buildtest: Merge the --without-default-* jobs, Thomas Huth, 2023/01/31
- [PULL 25/27] gitlab-ci.d/buildtest: Remove ppc-softmmu from the clang-system job, Thomas Huth, 2023/01/31