static void qmp_input_start_list(Visitor *v, const char *name, Error **errp)

{

    QmpInputVisitor *qiv = to_qiv(v);

    QObject *qobj = qmp_input_get_object(qiv, name, true);



    if (!qobj || qobject_type(qobj) != QTYPE_QLIST) {

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",

                   "list");

        return;

    }



    qmp_input_push(qiv, qobj, errp);

}

static void qmp_input_start_list(Visitor *v, const char *name, Error **errp)

{

    QmpInputVisitor *qiv = to_qiv(v);

    QObject *qobj = qmp_input_get_object(qiv, name, true);



    if (!qobj || qobject_type(qobj) != QTYPE_QLIST) {

        error_setg(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",

                   "list");

        return;

    }



    qmp_input_push(qiv, qobj, errp);

}

static void FUNC_0(Visitor *VAR_0, const char *VAR_1, Error **VAR_2)

{

    QmpInputVisitor *qiv = to_qiv(VAR_0);

    QObject *qobj = qmp_input_get_object(qiv, VAR_1, true);



    if (!qobj || qobject_type(qobj) != QTYPE_QLIST) {

        error_setg(VAR_2, QERR_INVALID_PARAMETER_TYPE, VAR_1 ? VAR_1 : "null",

                   "list");

        return;

    }



    qmp_input_push(qiv, qobj, VAR_2);

}

static void FUNC_0(Visitor *VAR_0, const char *VAR_1, Error **VAR_2)
{ QmpInputVisitor *qiv = to_qiv(VAR_0); QObject *qobj = qmp_input_get_object(qiv, VAR_1, true); if (!qobj || qobject_type(qobj) != QTYPE_QLIST) { error_setg(VAR_2, QERR_INVALID_PARAMETER_TYPE, VAR_1 ? VAR_1 : "null",
"list"); return; } qmp_input_push(qiv, qobj, VAR_2); }