diff options
Diffstat (limited to 'block_int.h')
-rw-r--r-- | block_int.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/block_int.h b/block_int.h index 8b4c5fe5fc..b45bde04d4 100644 --- a/block_int.h +++ b/block_int.h @@ -86,16 +86,9 @@ struct BlockDriver { /* to control generic scsi devices */ int (*bdrv_ioctl)(BlockDriverState *bs, unsigned long int req, void *buf); - int (*bdrv_sg_send_command)(BlockDriverState *bs, void *buf, int count); - int (*bdrv_sg_recv_response)(BlockDriverState *bs, void *buf, int count); - BlockDriverAIOCB *(*bdrv_sg_aio_read)(BlockDriverState *bs, - void *buf, int count, - BlockDriverCompletionFunc *cb, - void *opaque); - BlockDriverAIOCB *(*bdrv_sg_aio_write)(BlockDriverState *bs, - void *buf, int count, - BlockDriverCompletionFunc *cb, - void *opaque); + BlockDriverAIOCB *(*bdrv_aio_ioctl)(BlockDriverState *bs, + unsigned long int req, void *buf, + BlockDriverCompletionFunc *cb, void *opaque); AIOPool aio_pool; struct BlockDriver *next; |