From 7534695b405e8abb4eb61d082da1d7610f6585bf Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 10 May 2023 06:15:44 +0000 Subject: [PATCH] target/loongarch: Terminate vmstate subsections list This list requires a NULL terminator. Fixes: 16f5396cec23 ("target/loongarch: Add LSX data type VReg") Signed-off-by: Richard Henderson Message-Id: <20230510062405.127260-1-richard.henderson@linaro.org> --- 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.11.0