Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 22 November 2011 11:06, Juan Quintela <quint...@redhat.com> wrote:
>> Peter Chubb <pet...@gelato.unsw.edu.au> wrote:

>>
>>       vmstate_register(&dev->qdev, -1, &vmstate_imxg_timer, s);
>> ???
>
> Any particular reason to prefer a vmstate_register() call
> over just having a SysBusDeviceInfo struct with the .qdev.vmsd
> field set? I tend to prefer the latter myself.

I didn't saw a .qdev to hijack into on the patch O:-)
I also preffer to put it inside .qdev, we get
registration/unregistration working for free.

Later, Juan.

Reply via email to