This list requires a NULL terminator.

Fixes: 16f5396cec23 ("target/loongarch: Add LSX data type VReg")
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---

This failure can be seen 

https://gitlab.com/qemu-project/qemu/-/jobs/4253259728#L5579

  5/789 qemu:qtest+qtest-loongarch64 / qtest-loongarch64/qom-test               
  ERROR           1.38s   killed by signal 6 SIGABRT
 44/789 qemu:qtest+qtest-loongarch64 / qtest-loongarch64/test-hmp               
  ERROR           0.95s   killed by signal 6 SIGABRT
356/789 qemu:qtest+qtest-loongarch64 / qtest-loongarch64/machine-none-test      
  ERROR           0.51s   killed by signal 6 SIGABRT

It does not always fail, depending on the layout of the executable,
which is why it was not caught right away.  I plan on applying this
directly to master before processing more pull requests.


r~

---
 target/loongarch/machine.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/loongarch/machine.c b/target/loongarch/machine.c
index 7adc1bdff9..d8ac99c9a4 100644
--- a/target/loongarch/machine.c
+++ b/target/loongarch/machine.c
@@ -163,5 +163,6 @@ const VMStateDescription vmstate_loongarch_cpu = {
     .subsections = (const VMStateDescription*[]) {
         &vmstate_fpu,
         &vmstate_lsx,
+        NULL
     }
 };
-- 
2.34.1


Reply via email to