static int vhost_user_start(VhostUserState *s)

{

    VhostNetOptions options;



    if (vhost_user_running(s)) {

        return 0;

    }



    options.backend_type = VHOST_BACKEND_TYPE_USER;

    options.net_backend = &s->nc;

    options.opaque = s->chr;

    options.force = true;



    s->vhost_net = vhost_net_init(&options);



    return vhost_user_running(s) ? 0 : -1;

}

static int vhost_user_start(VhostUserState *s)

{

    VhostNetOptions options;



    if (vhost_user_running(s)) {

        return 0;

    }



    options.backend_type = VHOST_BACKEND_TYPE_USER;

    options.net_backend = &s->nc;

    options.opaque = s->chr;

    options.force = true;



    s->vhost_net = vhost_net_init(&options);



    return vhost_user_running(s) ? 0 : -1;

}

    options.force = true;
static int FUNC_0(VhostUserState *VAR_0)

{

    VhostNetOptions options;



    if (vhost_user_running(VAR_0)) {

        return 0;

    }



    options.backend_type = VHOST_BACKEND_TYPE_USER;

    options.net_backend = &VAR_0->nc;

    options.opaque = VAR_0->chr;

    options.force = true;



    VAR_0->vhost_net = vhost_net_init(&options);



    return vhost_user_running(VAR_0) ? 0 : -1;

}

static int FUNC_0(VhostUserState *VAR_0)
{ VhostNetOptions options; if (vhost_user_running(VAR_0)) { return 0; } options.backend_type = VHOST_BACKEND_TYPE_USER; options.net_backend = &VAR_0->nc; options.opaque = VAR_0->chr; options.force = true; VAR_0->vhost_net = vhost_net_init(&options); return vhost_user_running(VAR_0) ? 0 : -1; }