]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/loongarch: Terminate vmstate subsections list
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 10 May 2023 06:15:44 +0000 (06:15 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 10 May 2023 08:52:36 +0000 (09:52 +0100)
This list requires a NULL terminator.

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

target/loongarch/machine.c

index 7adc1bdff944081273146ba0b84da21ca866bab2..d8ac99c9a4172dc4eaac8b53d7b207f57ef66d37 100644 (file)
@@ -163,5 +163,6 @@ const VMStateDescription vmstate_loongarch_cpu = {
     .subsections = (const VMStateDescription*[]) {
         &vmstate_fpu,
         &vmstate_lsx,
+        NULL
     }
 };