Home
last modified time | relevance | path

Searched refs:on_read_error (Results 1 – 4 of 4) sorted by relevance

/external/qemu/
Dblockdev.c150 int on_read_error, on_write_error; in drive_init() local
327 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()
Dblock.c1311 void bdrv_set_on_error(BlockDriverState *bs, BlockErrorAction on_read_error, in bdrv_set_on_error() argument
1314 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()
/external/qemu/include/block/
Dblock_int.h195 BlockErrorAction on_read_error, on_write_error; member
Dblock.h170 void bdrv_set_on_error(BlockDriverState *bs, BlockErrorAction on_read_error,