]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm/machine: remove TARGET_AARCH64 from migration state
authorPierrick Bouvier <pierrick.bouvier@linaro.org>
Mon, 12 May 2025 18:04:49 +0000 (11:04 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 14 May 2025 14:12:40 +0000 (15:12 +0100)
commitcb9f95996a5d2941da5a41cc168145aca3051a55
tree5232b14559ec0f2d84bf58609c1495e7cd17127c
parentd31eaa5bdbd5cf05d8313beb7149c33c4a6d750e
target/arm/machine: remove TARGET_AARCH64 from migration state

This exposes two new subsections for arm: vmstate_sve and vmstate_za.
Those sections have a ".needed" callback, which already allow to skip
them when not needed.

vmstate_sve .needed is checking cpu_isar_feature(aa64_sve, cpu).
vmstate_za .needed is checking ZA flag in cpu->env.svcr.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250512180502.2395029-36-pierrick.bouvier@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/machine.c