qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 5/6] a9mpcore: remove old_timer_status field


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v1 5/6] a9mpcore: remove old_timer_status field
Date: Mon, 18 Feb 2013 18:40:10 +0000

On 8 February 2013 04:03, Peter Crosthwaite
<address@hidden> wrote:
> This field was write only and thus unused. Removed.
>
> Signed-off-by: Peter Crosthwaite <address@hidden>
> @@ -198,11 +194,10 @@ static int a9mp_priv_init(SysBusDevice *dev)
>
>  static const VMStateDescription vmstate_a9mp_priv = {
>      .name = "a9mpcore_priv",
> -    .version_id = 2,
> -    .minimum_version_id = 1,
> +    .version_id = 3,
> +    .minimum_version_id = 2,
>      .fields = (VMStateField[]) {
>          VMSTATE_UINT32(scu_control, A9MPPrivState),
> -        VMSTATE_UINT32_ARRAY(old_timer_status, A9MPPrivState, 8),
>          VMSTATE_UINT32_V(scu_status, A9MPPrivState, 2),
>          VMSTATE_END_OF_LIST()
>      }

Does v2 to v3 migration really work (ie ignoring the
v2-only field)? Since the previous patch broke migration
for A9 platforms anyway you might as well set the minimum
version ID to 3 and save me having to figure out the answer :-)

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]