[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 13/25] vmstate: port ppc cpu
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 13/25] vmstate: port ppc cpu |
Date: |
Sun, 30 Oct 2011 17:36:22 +0100 |
On 25.10.2011, at 16:00, Juan Quintela wrote:
> Added sdr1_vmstate because storing the value requires calling
> ppc_store_sdr1().
> The position when the function is called also changes (I think it is save).
Thanks for converting this. I'm fairly sure that vmsave is broken atm anyways
and that someone will have to go through all the fields and make sure they're
still working properly. However you're definitely not making the situation
worse, so here's only a small comment:
>
> Signed-off-by: Juan Quintela <address@hidden>
> CC: Alexander Graf <address@hidden>
> ---
> target-ppc/cpu.h | 4 +-
> target-ppc/machine.c | 245 ++++++++++++++++++--------------------------------
> 2 files changed, 89 insertions(+), 160 deletions(-)
>
> + VMSTATE_UINTTL_ARRAY(spr, CPUState, 1024),
Shouldn't sizeof(((CPUState*)NULL)->spr / sizeof(target_ulong)) work as size
field?
Alex
- [Qemu-devel] [PATCH 18/25] mips_fulong2e: cpu vmstate already registered in cpu_exec_init, (continued)
- [Qemu-devel] [PATCH 18/25] mips_fulong2e: cpu vmstate already registered in cpu_exec_init, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 19/25] mips: make mvp an embedded struct instead of pointer, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 25/25] vmstate: all cpus converted, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 23/25] arm: save always 32 fpu registers, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 16/25] vmstate: port sparc cpu, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 22/25] vmstate: port mips cpu, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 21/25] mips: bump migration version to 4, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 14/25] vmstate: introduce VMSTATE_VARRAY_MULTIPLY, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 15/25] vmstate: define vmstate_info_uinttls, Juan Quintela, 2011/10/25
- [Qemu-devel] [PATCH 13/25] vmstate: port ppc cpu, Juan Quintela, 2011/10/25
- Re: [Qemu-devel] [PATCH 13/25] vmstate: port ppc cpu,
Alexander Graf <=
- [Qemu-devel] [PATCH 12/25] vmstate: Introduce VMSTATE_STRUCT_VARRAY_INT32_TEST, Juan Quintela, 2011/10/25