Re: [PATCH] virtio_scsi: Always try to read VPD pages

From: Paolo Bonzini
Date: Wed Apr 19 2017 - 11:02:08 EST




On 13/04/2017 15:39, Stefan Hajnoczi wrote:
> On Thu, Apr 13, 2017 at 12:13:00PM +1000, David Gibson wrote:
>> @@ -705,6 +706,28 @@ static int virtscsi_device_reset(struct scsi_cmnd *sc)
>> return virtscsi_tmf(vscsi, cmd);
>> }
>>
>> +static int virtscsi_device_alloc(struct scsi_device *sdevice)
>> +{
>> + /*
>> + * Passed through SCSI targets (e.g. with qemu's 'scsi-block')
>> + * may have transfer limits which come from the host SCSI
>> + * controller something on the host side other than the target
>
> s/controller something/controller or something/ ?

Acked-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

with this change.

Paolo