]> git.ipfire.org Git - thirdparty/qemu.git/commit
cpus: Register VMState per user / system emulation
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 23 Jan 2025 18:56:20 +0000 (19:56 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 9 Mar 2025 16:00:46 +0000 (17:00 +0100)
commitca05578fc80f4253ed19f4c4128a4cbd5b83f0b5
tree29c58801fd4b070fd8dc1a2a5acdbaa0fe7769a6
parent1405d7e60d8c98a28b29885f70da4f2e4407fbc6
cpus: Register VMState per user / system emulation

Simplify cpu-target.c by extracting mixed vmstate code
into the cpu_vmstate_register() / cpu_vmstate_unregister()
helpers, implemented in cpu-user.c and cpu-system.c.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250123234415.59850-20-philmd@linaro.org>
cpu-target.c
hw/core/cpu-system.c
hw/core/cpu-user.c
include/hw/core/cpu.h