commit | efb8206ca7f19f5a6ece1f2851a73a29de309b1e | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Mon Jul 27 17:49:20 2015 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Jul 27 18:11:53 2015 +0300 |
tree | 092d92ff2f2db1237da8e044acea01e5f7e547b7 | |
parent | 9d5b731dd2d64deb3bc798ef4e3c08603d54ae02 [diff] |
virtio-blk: fail get_features when both scsi and 1.0 were set SCSI passthrough was no longer supported in virtio 1.0, so this patch fail the get_features() when both 1.0 and scsi is set. And also only advertise VIRTIO_BLK_F_SCSI for legacy virtio-blk device. Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com>