[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/8] tests/qtest/boot-serial-test: Constify tests[] array
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 1/8] tests/qtest/boot-serial-test: Constify tests[] array |
Date: |
Thu, 19 Jan 2023 11:05:30 +0100 |
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
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.38.1
- [PATCH 0/8] tests/qtest: Allow running boot-serial / migration with TCG disabled, Philippe Mathieu-Daudé, 2023/01/19
- [PATCH 1/8] tests/qtest/boot-serial-test: Constify tests[] array,
Philippe Mathieu-Daudé <=
- [PATCH 2/8] tests/qtest/boot-serial-test: Build command line using GString API, Philippe Mathieu-Daudé, 2023/01/19
- [PATCH 7/8] tests/qtest/boot-serial-test: Allow running with HVF, Philippe Mathieu-Daudé, 2023/01/19
- [PATCH 3/8] tests/qtest/boot-serial-test: Only use available accelerators, Philippe Mathieu-Daudé, 2023/01/19
- [PATCH 4/8] tests/qtest/migration-test: Build command line using GString API, Philippe Mathieu-Daudé, 2023/01/19
- [RFC PATCH 6/8] tests/qtest/libqtest: Allow checking for HVF accelerator, Philippe Mathieu-Daudé, 2023/01/19