static int parse_numa(void *opaque, QemuOpts *opts, Error **errp)

{

    NumaOptions *object = NULL;

    Error *err = NULL;



    {

        Visitor *v = opts_visitor_new(opts);

        visit_type_NumaOptions(v, NULL, &object, &err);

        visit_free(v);

    }



    if (err) {

        goto error;

    }



    switch (object->type) {

    case NUMA_OPTIONS_KIND_NODE:

        numa_node_parse(object->u.node.data, opts, &err);

        if (err) {

            goto error;

        }

        nb_numa_nodes++;

        break;

    default:

        abort();

    }



    return 0;



error:

    error_report_err(err);

    qapi_free_NumaOptions(object);



    return -1;

}

static int parse_numa(void *opaque, QemuOpts *opts, Error **errp)

{

    NumaOptions *object = NULL;

    Error *err = NULL;



    {

        Visitor *v = opts_visitor_new(opts);

        visit_type_NumaOptions(v, NULL, &object, &err);

        visit_free(v);

    }



    if (err) {

        goto error;

    }



    switch (object->type) {

    case NUMA_OPTIONS_KIND_NODE:

        numa_node_parse(object->u.node.data, opts, &err);

        if (err) {

            goto error;

        }

        nb_numa_nodes++;

        break;

    default:

        abort();

    }



    return 0;



error:

    error_report_err(err);

    qapi_free_NumaOptions(object);



    return -1;

}

        goto error;             goto error;     return 0; error:     error_report_err(err);     return -1;
static int FUNC_0(void *VAR_0, QemuOpts *VAR_1, Error **VAR_2)

{

    NumaOptions *object = NULL;

    Error *err = NULL;



    {

        Visitor *v = opts_visitor_new(VAR_1);

        visit_type_NumaOptions(v, NULL, &object, &err);

        visit_free(v);

    }



    if (err) {

        goto error;

    }



    switch (object->type) {

    case NUMA_OPTIONS_KIND_NODE:

        numa_node_parse(object->u.node.data, VAR_1, &err);

        if (err) {

            goto error;

        }

        nb_numa_nodes++;

        break;

    default:

        abort();

    }



    return 0;



error:

    error_report_err(err);

    qapi_free_NumaOptions(object);



    return -1;

}

static int FUNC_0(void *VAR_0, QemuOpts *VAR_1, Error **VAR_2)
{ NumaOptions *object = NULL; Error *err = NULL; { Visitor *v = opts_visitor_new(VAR_1); visit_type_NumaOptions(v, NULL, &object, &err); visit_free(v); } if (err) { goto error; } switch (object->type) { case NUMA_OPTIONS_KIND_NODE:
numa_node_parse(object->u.node.data, VAR_1, &err); if (err) { goto error; } nb_numa_nodes++; break; default:
abort(); } return 0; error:
error_report_err(err); qapi_free_NumaOptions(object); return -1; }