void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict)

{

    Error *err = NULL;



    qmp_block_set_io_throttle(qdict_get_str(qdict, "device"),

                              qdict_get_int(qdict, "bps"),

                              qdict_get_int(qdict, "bps_rd"),

                              qdict_get_int(qdict, "bps_wr"),

                              qdict_get_int(qdict, "iops"),

                              qdict_get_int(qdict, "iops_rd"),

                              qdict_get_int(qdict, "iops_wr"), &err);

    hmp_handle_error(mon, &err);

}

void hmp_block_set_io_throttle(Monitor *mon, const QDict *qdict)

{

    Error *err = NULL;



    qmp_block_set_io_throttle(qdict_get_str(qdict, "device"),

                              qdict_get_int(qdict, "bps"),

                              qdict_get_int(qdict, "bps_rd"),

                              qdict_get_int(qdict, "bps_wr"),

                              qdict_get_int(qdict, "iops"),

                              qdict_get_int(qdict, "iops_rd"),

                              qdict_get_int(qdict, "iops_wr"), &err);

    hmp_handle_error(mon, &err);

}

                              qdict_get_int(qdict, "iops_wr"), &err);
void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)

{

    Error *err = NULL;



    qmp_block_set_io_throttle(qdict_get_str(VAR_1, "device"),

                              qdict_get_int(VAR_1, "bps"),

                              qdict_get_int(VAR_1, "bps_rd"),

                              qdict_get_int(VAR_1, "bps_wr"),

                              qdict_get_int(VAR_1, "iops"),

                              qdict_get_int(VAR_1, "iops_rd"),

                              qdict_get_int(VAR_1, "iops_wr"), &err);

    hmp_handle_error(VAR_0, &err);

}

void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)
{ Error *err = NULL; qmp_block_set_io_throttle(qdict_get_str(VAR_1, "device"),
qdict_get_int(VAR_1, "bps"),
qdict_get_int(VAR_1, "bps_rd"),
qdict_get_int(VAR_1, "bps_wr"),
qdict_get_int(VAR_1, "iops"),
qdict_get_int(VAR_1, "iops_rd"),
qdict_get_int(VAR_1, "iops_wr"), &err); hmp_handle_error(VAR_0, &err); }