qemu-ppc
[Top][All Lists]
Advanced

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

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


From: Richard Henderson
Subject: Re: [PATCH v7 13/23] cpu: Move AVR target vmsd field from CPUClass to DeviceClass
Date: Tue, 25 May 2021 19:19:06 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

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 vmstate version.

Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
v7: Increment vmstate version (Richard)
---
  target/avr/cpu.c     | 2 +-
  target/avr/machine.c | 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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