OSDN Git Service

virtio-blk: remove VIRTIO_BLK_F_SCSI support
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Dec 2019 16:37:19 +0000 (17:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 6 Feb 2020 08:40:26 +0000 (03:40 -0500)
commit782e067dba52de989a445f1bfa4bb770abb34480
tree00d5b0ed2270920902917e7ab8ef014d32c60642
parent303090b513fd1ee45aa1536b71a3838dc054bc05
virtio-blk: remove VIRTIO_BLK_F_SCSI support

Since the need for a special flag to support SCSI passthrough on a
block device was added in May 2017 the SCSI passthrough support in
virtio-blk has been disabled.  It has always been a bad idea
(just ask the original author..) and we have virtio-scsi for proper
passthrough.  The feature also never made it into the virtio 1.0
or later specifications.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
arch/powerpc/configs/guest.config
drivers/block/Kconfig
drivers/block/virtio_blk.c