[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH qom-cpu v3 4/6] target-alpha: Register VMStateDe
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH qom-cpu v3 4/6] target-alpha: Register VMStateDescription for AlphaCPU |
Date: |
Tue, 18 Jun 2013 07:40:51 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
On 06/17/2013 05:29 PM, Andreas Färber wrote:
> Commit b758aca1f6cdb175634812b79f5560c36c902d00 (target-alpha: Enable
> the alpha-softmmu target.) introduced cpu_{save,load}() functions but
> didn't define CPU_SAVE_VERSION, so they were never registered.
>
> Drop cpu_{save,load}() and register the VMStateDescription via DeviceClass.
> This operates on the AlphaCPU object instead of CPUAlphaState.
>
> Signed-off-by: Andreas Färber <address@hidden>
> ---
> target-alpha/cpu-qom.h | 4 ++++
> target-alpha/cpu.c | 2 ++
> target-alpha/machine.c | 28 ++++++++++++++++------------
> 3 files changed, 22 insertions(+), 12 deletions(-)
Acked-by: Richard Henderson <address@hidden>
r~
- [Qemu-devel] [PATCH qom-cpu v3 0/6] QOM CPUState migration, next generation, Andreas Färber, 2013/06/17
- [Qemu-devel] [PATCH qom-cpu v3 1/6] cpu: Fix cpu_class_set_vmsd() documentation, Andreas Färber, 2013/06/17
- [Qemu-devel] [PATCH qom-cpu v3 3/6] cpu: Introduce VMSTATE_CPU() macro for CPUState, Andreas Färber, 2013/06/17
- [Qemu-devel] [PATCH qom-cpu v3 2/6] cpu: Introduce device_class_set_vmsd() helper, Andreas Färber, 2013/06/17
- [Qemu-devel] [PATCH qom-cpu v3 4/6] target-alpha: Register VMStateDescription for AlphaCPU, Andreas Färber, 2013/06/17
- [Qemu-devel] [PATCH qom-cpu v3 6/6] cpu: Guard cpu_{save, load}() definitions, Andreas Färber, 2013/06/17
- [Qemu-devel] [PATCH qom-cpu v3 5/6] target-openrisc: Register VMStateDescription for OpenRISCCPU, Andreas Färber, 2013/06/17
- Re: [Qemu-devel] [PATCH qom-cpu v3 0/6] QOM CPUState migration, next generation, Andreas Färber, 2013/06/18