static void mipsnet_cleanup(VLANClientState *vc) { MIPSnetState *s = vc->opaque; unregister_savevm("mipsnet", s); isa_unassign_ioport(s->io_base, 36); qemu_free(s); }
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); }