diff options
author | Fam Zheng | 2015-11-09 11:16:52 +0100 |
---|---|---|
committer | Kevin Wolf | 2015-11-12 16:22:43 +0100 |
commit | 83c98d7b924eab36a0a2c7813731dbef439a91d3 (patch) | |
tree | 45ba929b675a6baf7612bd634c634cde5eb90b27 /include/block | |
parent | block: Emulate bdrv_ioctl with bdrv_aio_ioctl and track both (diff) | |
download | qemu-83c98d7b924eab36a0a2c7813731dbef439a91d3.tar.gz qemu-83c98d7b924eab36a0a2c7813731dbef439a91d3.tar.xz qemu-83c98d7b924eab36a0a2c7813731dbef439a91d3.zip |
block: Drop BlockDriver.bdrv_ioctl
Now the callback is not used any more, drop the field along with all
implementations in block drivers, which are iscsi and raw.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1447064214-29930-8-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/block_int.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index ac034069ff..84991d9973 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -227,7 +227,6 @@ struct BlockDriver { void (*bdrv_lock_medium)(BlockDriverState *bs, bool locked); /* to control generic scsi devices */ - int (*bdrv_ioctl)(BlockDriverState *bs, unsigned long int req, void *buf); BlockAIOCB *(*bdrv_aio_ioctl)(BlockDriverState *bs, unsigned long int req, void *buf, BlockCompletionFunc *cb, void *opaque); |