Revision 18846dee block.h
b/block.h | ||
---|---|---|
71 | 71 |
int bdrv_open(BlockDriverState *bs, const char *filename, int flags, |
72 | 72 |
BlockDriver *drv); |
73 | 73 |
void bdrv_close(BlockDriverState *bs); |
74 |
int bdrv_attach(BlockDriverState *bs, DeviceState *qdev); |
|
75 |
void bdrv_detach(BlockDriverState *bs, DeviceState *qdev); |
|
76 |
DeviceState *bdrv_get_attached(BlockDriverState *bs); |
|
74 | 77 |
int bdrv_check(BlockDriverState *bs); |
75 | 78 |
int bdrv_read(BlockDriverState *bs, int64_t sector_num, |
76 | 79 |
uint8_t *buf, int nb_sectors); |
Also available in: Unified diff