static void cb_hmp_change_bdrv_pwd(Monitor *mon, const char *password,

                                   void *opaque)

{

    Error *encryption_err = opaque;

    Error *err = NULL;

    const char *device;



    device = error_get_field(encryption_err, "device");



    qmp_block_passwd(device, password, &err);

    hmp_handle_error(mon, &err);

    error_free(encryption_err);



    monitor_read_command(mon, 1);

}

static void cb_hmp_change_bdrv_pwd(Monitor *mon, const char *password,

                                   void *opaque)

{

    Error *encryption_err = opaque;

    Error *err = NULL;

    const char *device;



    device = error_get_field(encryption_err, "device");



    qmp_block_passwd(device, password, &err);

    hmp_handle_error(mon, &err);

    error_free(encryption_err);



    monitor_read_command(mon, 1);

}

static void FUNC_0(Monitor *VAR_0, const char *VAR_1,

                                   void *VAR_2)

{

    Error *encryption_err = VAR_2;

    Error *err = NULL;

    const char *VAR_3;



    VAR_3 = error_get_field(encryption_err, "VAR_3");



    qmp_block_passwd(VAR_3, VAR_1, &err);

    hmp_handle_error(VAR_0, &err);

    error_free(encryption_err);



    monitor_read_command(VAR_0, 1);

}

static void FUNC_0(Monitor *VAR_0, const char *VAR_1,
void *VAR_2)
{ Error *encryption_err = VAR_2; Error *err = NULL; const char *VAR_3; VAR_3 = error_get_field(encryption_err, "VAR_3"); qmp_block_passwd(VAR_3, VAR_1, &err); hmp_handle_error(VAR_0, &err); error_free(encryption_err); monitor_read_command(VAR_0, 1); }