On Wed, Jun 29, 2011 at 12:23:38PM +0200, Hannes Reinecke wrote: > The general idea here is that we can support NPIV. > With NPIV we'll have several scsi_hosts, each of which is assigned a > different set of LUNs by the array. > With virtio we need to able to react on LUN remapping on the array > side, ie we need to be able to issue a 'REPORT LUNS' command and > add/remove LUNs on the fly. This means we have to expose the > scsi_host in some way via virtio. > > This is impossible with a one-to-one mapping between targets and > LUNs. The actual bus-level pass-through will be just on the SCSI > layer, ie 'REPORT LUNS' should be possible. If and how we do a LUN > remapping internally on the host is a totally different matter. > Same goes for the transport details; I doubt we will expose all the > dingy details of the various transports, but rather restrict > ourselves to an abstract transport. If we want to support traditional NPIV that's what we have to do. I still hope we'll see broad SR-IOV support for FC adapters soon, which would ease all this greatly. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html