Re: [PATCH v7 13/23] cpu: Move AVR target vmsd field from CPUClass to DeviceClass

2021-05-25 Thread Richard Henderson
On 5/17/21 3:51 AM, Philippe Mathieu-Daudé wrote: See rationale in previous commit. Targets should use the vmsd field of DeviceClass, not CPUClass. As migration is not important on the AVR target, break the migration compatibility and set the DeviceClass vmsd field. To feel safer, increment the v

[PATCH v7 13/23] cpu: Move AVR target vmsd field from CPUClass to DeviceClass

2021-05-17 Thread Philippe Mathieu-Daudé
See rationale in previous commit. Targets should use the vmsd field of DeviceClass, not CPUClass. As migration is not important on the AVR target, break the migration compatibility and set the DeviceClass vmsd field. To feel safer, increment the vmstate version. Signed-off-by: Philippe Mathieu-Dau