On 1 August 2016 at 03:21, Alistair Francis <alistai...@gmail.com> wrote:
> On Tue, Jul 26, 2016 at 8:00 AM, Peter Maydell <peter.mayd...@linaro.org> 
> wrote:
>> The data in the memory pointed to by 'levels' is state, and you
>> need to migrate it somehow. (Otherwise you'll give the wrong
>> results the next time an input changes following a migration.)
>
> A simple vmstate should be enough for that right?

Yes (but if you don't inherit from DeviceState you won't
have anywhere convenient to hook it up).

thanks
-- PMM

Reply via email to