]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
virtio-blk: deprecate SCSI passthrough
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 13 Dec 2019 14:46:26 +0000 (14:46 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 19 Dec 2019 16:20:21 +0000 (16:20 +0000)
The Linux virtio_blk.ko guest driver is removing legacy SCSI passthrough
support.  Deprecate this feature in QEMU too.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20191213144626.1208237-1-stefanha@redhat.com
Message-Id: <20191213144626.1208237-1-stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-deprecated.texi

index 62680f7bd5cf350d193a487e5aa6888fb2c50896..259cb9ce9ed596a70e3cea47078fa2edf1d54034 100644 (file)
@@ -278,6 +278,17 @@ spec you can use the ``-cpu rv64gcsu,priv_spec=v1.9.1`` command line argument.
 
 @section Device options
 
+@subsection Emulated device options
+
+@subsubsection -device virtio-blk,scsi=on|off (since 5.0.0)
+
+The virtio-blk SCSI passthrough feature is a legacy VIRTIO feature.  VIRTIO 1.0
+and later do not support it because the virtio-scsi device was introduced for
+full SCSI support.  Use virtio-scsi instead when SCSI passthrough is required.
+
+Note this also applies to ``-device virtio-blk-pci,scsi=on|off'', which is an
+alias.
+
 @subsection Block device options
 
 @subsubsection "backing": "" (since 2.12.0)