> On 08/03/2017 05:10 PM, Paolo Bonzini wrote: > > On 03/08/2017 15:26, Hannes Reinecke wrote: > >> Hi all, > >> > >> due to a customer issue I've added simple subenclosure support > >> to the SCSI emulation. The patch simply converts the current invisible > >> LUN0 into an enclosure device; existing setups using LUN0 as disks or > >> CD-ROMs will not be affected. > > > > What is the issue exactly? That is, for what is it necessary to have a > > dummy enclosure? > > > Well, stock linux displays some very interesting error messages for > these types of enclosures. Which was the prime mover for doing this.
--verbose? > > I agree with Dan that this need machine type compatibility gunk. For > > example, could the new device affect /dev/sgN numbering? > > Yes, indeed it would. > > What about a new option to the scsi driver? If you do that, you've done 99% of the work to do compatibility so I won't complain and do the 1% myself. :) Paolo