Revision 7d0d6950 block.h
b/block.h | ||
---|---|---|
162 | 162 |
void bdrv_set_on_error(BlockDriverState *bs, BlockErrorAction on_read_error, |
163 | 163 |
BlockErrorAction on_write_error); |
164 | 164 |
BlockErrorAction bdrv_get_on_error(BlockDriverState *bs, int is_read); |
165 |
void bdrv_set_removable(BlockDriverState *bs, int removable); |
|
165 | 166 |
int bdrv_is_removable(BlockDriverState *bs); |
166 | 167 |
int bdrv_is_read_only(BlockDriverState *bs); |
167 | 168 |
int bdrv_is_sg(BlockDriverState *bs); |
Also available in: Unified diff