scsi: virtio_scsi: always read VPD pages for multiqueue too
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Jul 2017 08:30:56 +0000 (10:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Jul 2017 21:15:54 +0000 (17:15 -0400)
commita680f1d463aeaeb00d22af257a56e111967c2f18
treef9fa999f1ecee59a4e84480206ad289f842c335b
parentacef2690d16f38a0687552b391674201ad7c5783
scsi: virtio_scsi: always read VPD pages for multiqueue too

Multi-queue virtio-scsi uses a different scsi_host_template struct.  Add
the .device_alloc field there, too.

Fixes: 25d1d50e23275e141e3a3fe06c25a99f4c4bf4e0
Cc: 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>
drivers/scsi/virtio_scsi.c