On Sun, Apr 09, 2017 at 01:31:10AM +0800, Paolo Bonzini wrote:
On 01/03/2017 18:45, Roman Kagan wrote:
A number of SCSI drivers currently only see luns #0 in their targets.
This may be a problem when drives have to be assigned bigger lun numbers, e.g. because the storage controllers don't provide enough target numbers to accomodate all drives. (In particular, I'm about to submit a driver for Hyper-V VMBus SCSI controller which is limited to 2 targets only).
This series adds generic SCSI lun enumeration (either via REPORT LUNS command or sequentially trying every lun), and makes the respective drivers use it.
Note that the series has only been minimally tested against a recent QEMU.
Hi Roman,
are you going to send v2 of this?
Yes, sure.
I've had higher priority things to do lately, hence the delay. I should be able to submit v2 in a matter of days.
Roman.