void qmp_block_job_pause(const char *device, Error **errp)

{

    BlockJob *job = find_block_job(device);



    if (!job) {

        error_set(errp, QERR_BLOCK_JOB_NOT_ACTIVE, device);

        return;

    }



    trace_qmp_block_job_pause(job);

    block_job_pause(job);

}

void qmp_block_job_pause(const char *device, Error **errp)

{

    BlockJob *job = find_block_job(device);



    if (!job) {

        error_set(errp, QERR_BLOCK_JOB_NOT_ACTIVE, device);

        return;

    }



    trace_qmp_block_job_pause(job);

    block_job_pause(job);

}

void FUNC_0(const char *VAR_0, Error **VAR_1)

{

    BlockJob *job = find_block_job(VAR_0);



    if (!job) {

        error_set(VAR_1, QERR_BLOCK_JOB_NOT_ACTIVE, VAR_0);

        return;

    }



    trace_qmp_block_job_pause(job);

    block_job_pause(job);

}

void FUNC_0(const char *VAR_0, Error **VAR_1)
{ BlockJob *job = find_block_job(VAR_0); if (!job) { error_set(VAR_1, QERR_BLOCK_JOB_NOT_ACTIVE, VAR_0); return; } trace_qmp_block_job_pause(job); block_job_pause(job); }