[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/char/pl011: Fix clock migration failure
From: |
Peter Maydell |
Subject: |
Re: [PATCH] hw/char/pl011: Fix clock migration failure |
Date: |
Wed, 17 Mar 2021 10:40:08 +0000 |
On Wed, 17 Mar 2021 at 10:37, Gavin Shan <gshan@redhat.com> wrote:
>
> Hi Peter,
>
> On 3/17/21 8:09 PM, Peter Maydell wrote:
> > On Wed, 17 Mar 2021 at 04:44, Gavin Shan <gshan@redhat.com> wrote:
> >>
> >> static const VMStateDescription vmstate_pl011 = {
> >> .name = "pl011",
> >> .version_id = 2,
> >> .minimum_version_id = 2,
> >> + .post_load = pl011_post_load,
> >> .fields = (VMStateField[]) {
> >> VMSTATE_UINT32(readbuff, PL011State),
> >> VMSTATE_UINT32(flags, PL011State),
> >> @@ -355,10 +355,6 @@ static const VMStateDescription vmstate_pl011 = {
> >> VMSTATE_INT32(read_trigger, PL011State),
> >> VMSTATE_END_OF_LIST()
> >> },
> >> - .subsections = (const VMStateDescription * []) {
> >> - &vmstate_pl011_clock,
> >> - NULL
> >> - }
> >> };
> >
> > Doesn't dropping the subsection break migration compat ?
> >
>
> It's why this patch needs to be backported to stable branches.
> In that way, we won't have migration compatible issue.
No, migration has to work from the existing already
shipped 5.1, 5.2, etc releases to 6.0 (assuming you use
the correct "virt-5.2" &c versioned machine type.)
thanks
-- PMM
- [PATCH] hw/char/pl011: Fix clock migration failure, Gavin Shan, 2021/03/17
- Re: [PATCH] hw/char/pl011: Fix clock migration failure, Peter Maydell, 2021/03/17
- Re: [PATCH] hw/char/pl011: Fix clock migration failure, Gavin Shan, 2021/03/17
- Re: [PATCH] hw/char/pl011: Fix clock migration failure,
Peter Maydell <=
- Re: [PATCH] hw/char/pl011: Fix clock migration failure, Gavin Shan, 2021/03/17
- Re: [PATCH] hw/char/pl011: Fix clock migration failure, Peter Maydell, 2021/03/17
- Re: [PATCH] hw/char/pl011: Fix clock migration failure, Andrew Jones, 2021/03/17
- Re: [PATCH] hw/char/pl011: Fix clock migration failure, Philippe Mathieu-Daudé, 2021/03/17
- Re: [PATCH] hw/char/pl011: Fix clock migration failure, Peter Maydell, 2021/03/17
- Re: [PATCH] hw/char/pl011: Fix clock migration failure, Gavin Shan, 2021/03/17