opts_check_struct(Visitor *v, Error **errp)

{

    OptsVisitor *ov = to_ov(v);

    GHashTableIter iter;

    GQueue *any;



    if (ov->depth > 0) {

        return;

    }



    /* we should have processed all (distinct) QemuOpt instances */

    g_hash_table_iter_init(&iter, ov->unprocessed_opts);

    if (g_hash_table_iter_next(&iter, NULL, (void **)&any)) {

        const QemuOpt *first;



        first = g_queue_peek_head(any);

        error_setg(errp, QERR_INVALID_PARAMETER, first->name);

    }

}

opts_check_struct(Visitor *v, Error **errp)

{

    OptsVisitor *ov = to_ov(v);

    GHashTableIter iter;

    GQueue *any;



    if (ov->depth > 0) {

        return;

    }



    

    g_hash_table_iter_init(&iter, ov->unprocessed_opts);

    if (g_hash_table_iter_next(&iter, NULL, (void **)&any)) {

        const QemuOpt *first;



        first = g_queue_peek_head(any);

        error_setg(errp, QERR_INVALID_PARAMETER, first->name);

    }

}

    if (ov->depth > 0) {
FUNC_0(Visitor *VAR_0, Error **VAR_1)

{

    OptsVisitor *ov = to_ov(VAR_0);

    GHashTableIter iter;

    GQueue *any;



    if (ov->depth > 0) {

        return;

    }



    

    g_hash_table_iter_init(&iter, ov->unprocessed_opts);

    if (g_hash_table_iter_next(&iter, NULL, (void **)&any)) {

        const QemuOpt *VAR_2;



        VAR_2 = g_queue_peek_head(any);

        error_setg(VAR_1, QERR_INVALID_PARAMETER, VAR_2->name);

    }

}

FUNC_0(Visitor *VAR_0, Error **VAR_1)
{ OptsVisitor *ov = to_ov(VAR_0); GHashTableIter iter; GQueue *any; if (ov->depth > 0) { return; } g_hash_table_iter_init(&iter, ov->unprocessed_opts); if (g_hash_table_iter_next(&iter, NULL, (void **)&any)) { const QemuOpt *VAR_2; VAR_2 = g_queue_peek_head(any); error_setg(VAR_1, QERR_INVALID_PARAMETER, VAR_2->name); } }