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

Reply via email to