[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Expre
From: |
Peter Maydell |
Subject: |
[Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers |
Date: |
Sat, 5 Mar 2011 12:34:57 +0000 |
On 5 March 2011 12:11, Paolo Bonzini <address@hidden> wrote:
> On 03/04/2011 09:34 PM, Peter Maydell wrote:
>>
>> .name = "realview_sysctl",
>> - .version_id = 1,
>> - .minimum_version_id = 1,
>> + .version_id = 2,
>> + .minimum_version_id = 2,
>> .fields = (VMStateField[]) {
>> VMSTATE_UINT32(leds, arm_sysctl_state),
>> VMSTATE_UINT16(lockval, arm_sysctl_state),
>> @@ -41,6 +44,9 @@ static const VMStateDescription vmstate_arm_sysctl = {
>> VMSTATE_UINT32(flags, arm_sysctl_state),
>> VMSTATE_UINT32(nvflags, arm_sysctl_state),
>> VMSTATE_UINT32(resetlevel, arm_sysctl_state),
>> + VMSTATE_UINT32(sys_cfgdata, arm_sysctl_state),
>> + VMSTATE_UINT32(sys_cfgctrl, arm_sysctl_state),
>> + VMSTATE_UINT32(sys_cfgstat, arm_sysctl_state),
>> VMSTATE_END_OF_LIST()
>> }
>
> You need to present the fields as version 2-only.
Can you give an example/explanation? docs/migration.txt doesn't
seem to cover this...
thanks
-- PMM
- [Qemu-devel] [PATCH v2 0/2] ARM: Add Versatile Express board model, Peter Maydell, 2011/03/04
- [Qemu-devel] [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Peter Maydell, 2011/03/04
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Paolo Bonzini, 2011/03/05
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers,
Peter Maydell <=
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Paolo Bonzini, 2011/03/05
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Peter Maydell, 2011/03/05
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Paolo Bonzini, 2011/03/05
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Peter Maydell, 2011/03/07
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Jan Kiszka, 2011/03/07
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Peter Maydell, 2011/03/22
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Juan Quintela, 2011/03/22
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Peter Maydell, 2011/03/22
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Paolo Bonzini, 2011/03/23
- [Qemu-devel] Re: [PATCH v2 1/2] hw/arm_sysctl.c: Add the Versatile Express system registers, Juan Quintela, 2011/03/23