Re: [PATCH] hw/armv7m: Fix broken VMStateDescription

2022-01-21 Thread Philippe Mathieu-Daudé via
On 20/1/22 16:16, Peter Maydell wrote: In commit d5093d961585f02 we added a VMStateDescription to the TYPE_ARMV7M object, to handle migration of its Clocks. However a cut-and-paste error meant we used the wrong struct name in the VMSTATE_CLOCK() macro arguments. The result was that attempting a '

Re: [PATCH] hw/armv7m: Fix broken VMStateDescription

2022-01-21 Thread Alex Bennée
Peter Maydell writes: > In commit d5093d961585f02 we added a VMStateDescription to > the TYPE_ARMV7M object, to handle migration of its Clocks. > However a cut-and-paste error meant we used the wrong struct > name in the VMSTATE_CLOCK() macro arguments. The result was > that attempting a 'savev

Re: [PATCH] hw/armv7m: Fix broken VMStateDescription

2022-01-20 Thread Ani Sinha
On Thu, 20 Jan 2022, Peter Maydell wrote: > In commit d5093d961585f02 we added a VMStateDescription to > the TYPE_ARMV7M object, to handle migration of its Clocks. > However a cut-and-paste error meant we used the wrong struct > name in the VMSTATE_CLOCK() macro arguments. The result was > that

[PATCH] hw/armv7m: Fix broken VMStateDescription

2022-01-20 Thread Peter Maydell
In commit d5093d961585f02 we added a VMStateDescription to the TYPE_ARMV7M object, to handle migration of its Clocks. However a cut-and-paste error meant we used the wrong struct name in the VMSTATE_CLOCK() macro arguments. The result was that attempting a 'savevm' might result in an assertion fail