mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-03 19:53:02 +09:00
scsi: virtio_scsi: always read VPD pages for multiqueue too
commita680f1d463upstream. Multi-queue virtio-scsi uses a different scsi_host_template struct. Add the .device_alloc field there, too. Fixes:25d1d50e23Cc: stable@vger.kernel.org Cc: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Cc: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1b94a87cf9
commit
68b9cb3aaa
@@ -819,6 +819,7 @@ static struct scsi_host_template virtscsi_host_template_multi = {
|
||||
.eh_abort_handler = virtscsi_abort,
|
||||
.eh_device_reset_handler = virtscsi_device_reset,
|
||||
|
||||
.slave_alloc = virtscsi_device_alloc,
|
||||
.can_queue = 1024,
|
||||
.dma_boundary = UINT_MAX,
|
||||
.use_clustering = ENABLE_CLUSTERING,
|
||||
|
||||
Reference in New Issue
Block a user