Searched refs:on_read_error (Results 1 – 4 of 4) sorted by relevance
150 int on_read_error, on_write_error; in drive_init() local327 on_read_error = BLOCK_ERR_REPORT; in drive_init()334 on_read_error = parse_block_error_action(buf, 1); in drive_init()335 if (on_read_error < 0) { in drive_init()424 bdrv_set_on_error(dinfo->bdrv, on_read_error, on_write_error); in drive_init()
1311 void bdrv_set_on_error(BlockDriverState *bs, BlockErrorAction on_read_error, in bdrv_set_on_error() argument1314 bs->on_read_error = on_read_error; in bdrv_set_on_error()1320 return is_read ? bs->on_read_error : bs->on_write_error; in bdrv_get_on_error()
195 BlockErrorAction on_read_error, on_write_error; member
170 void bdrv_set_on_error(BlockDriverState *bs, BlockErrorAction on_read_error,