Example #1
0
static void mipsnet_cleanup(VLANClientState *vc)
{
    MIPSnetState *s = vc->opaque;

    unregister_savevm("mipsnet", s);

    isa_unassign_ioport(s->io_base, 36);

    qemu_free(s);
}
Example #2
0
static void mipsnet_cleanup(VLANClientState *nc)
{
    MIPSnetState *s = DO_UPCAST(NICState, nc, nc)->opaque;

    vmstate_unregister(NULL, &vmstate_mipsnet, s);

    isa_unassign_ioport(s->io_base, 36);

    qemu_free(s);
}