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

{

    BlockInfoList *bdev_list, *bdev;

    Error *err = NULL;



    bdev_list = qmp_query_block(NULL);

    for (bdev = bdev_list; bdev; bdev = bdev->next) {

        if (key_is_missing(bdev->value)) {

            monitor_read_block_device_key(mon, bdev->value->device,

                                          hmp_cont_cb, NULL);

            goto out;

        }

    }



    qmp_cont(&err);

    hmp_handle_error(mon, &err);



out:

    qapi_free_BlockInfoList(bdev_list);

}

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

{

    BlockInfoList *bdev_list, *bdev;

    Error *err = NULL;



    bdev_list = qmp_query_block(NULL);

    for (bdev = bdev_list; bdev; bdev = bdev->next) {

        if (key_is_missing(bdev->value)) {

            monitor_read_block_device_key(mon, bdev->value->device,

                                          hmp_cont_cb, NULL);

            goto out;

        }

    }



    qmp_cont(&err);

    hmp_handle_error(mon, &err);



out:

    qapi_free_BlockInfoList(bdev_list);

}

    BlockInfoList *bdev_list, *bdev;     bdev_list = qmp_query_block(NULL);     for (bdev = bdev_list; bdev; bdev = bdev->next) {         if (key_is_missing(bdev->value)) {             monitor_read_block_device_key(mon, bdev->value->device,                                           hmp_cont_cb, NULL);             goto out; out:     qapi_free_BlockInfoList(bdev_list);     Error *err = NULL;
void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)

{

    BlockInfoList *bdev_list, *bdev;

    Error *err = NULL;



    bdev_list = qmp_query_block(NULL);

    for (bdev = bdev_list; bdev; bdev = bdev->next) {

        if (key_is_missing(bdev->value)) {

            monitor_read_block_device_key(VAR_0, bdev->value->device,

                                          hmp_cont_cb, NULL);

            goto out;

        }

    }



    qmp_cont(&err);

    hmp_handle_error(VAR_0, &err);



out:

    qapi_free_BlockInfoList(bdev_list);

}

void FUNC_0(Monitor *VAR_0, const QDict *VAR_1)
{ BlockInfoList *bdev_list, *bdev; Error *err = NULL; bdev_list = qmp_query_block(NULL); for (bdev = bdev_list; bdev; bdev = bdev->next) { if (key_is_missing(bdev->value)) { monitor_read_block_device_key(VAR_0, bdev->value->device,
hmp_cont_cb, NULL); goto out; } } qmp_cont(&err); hmp_handle_error(VAR_0, &err); out:
qapi_free_BlockInfoList(bdev_list); }