On Mar 2, 2013, at 7:27 AM, Peter Maydell wrote: > 2013/3/2 Sanjay Lal <sanj...@kymasys.com>: >> +static void gt64xxx_save(QEMUFile *f, void *opaque) >> +{ >> + GT64120State *s = opaque; >> + >> + /* CPU Configuration */ >> + qemu_put_be32s(f, &s->regs[GT_CPU]); >> + qemu_put_be32s(f, &s->regs[GT_MULTI]); > > > Definitely no new save/load functions like this in new code, > please. Use a VMState struct. > > thanks > -- PMM >
Will do for v2 of the patch set. Regards Sanjay