
On 01/14/2013 06:33 PM, Daniel P. Berrange wrote:
On Mon, Jan 14, 2013 at 05:04:19PM +0800, Guannan Ren wrote:
This patchset tries to add usb-scsi model for SCSI controller. http://lists.gnu.org/archive/html/qemu-devel/2012-06/msg03382.html
"usb-uas is a pure UAS (usb attached scsi) emulation. The emulation works like any other scsi hba emulation (eps, lsi, virtio, megasas, ...). It provides just the HBA where you can attach scsi devices as you like using '-device'. A single scsi target with up to 256 luns is supported. For now only usb 2.0 transport is supported."
libvirt XML snip <devices> <controller type='usb' index='2' model='ehci'> </controller> <controller type='scsi' index='0' model='usb-scsi'> Same objection as with the usb-net series - we need a more explicit name here.
Daniel
I choose usb-scsi because of virtio-scsi, idVendor is QEMU. idProduct is "USB Attached SCSI HBA". I originally named it usb-uas. Is it okay? To be honest, it is hard to think of a better name. Any better name is welcome. :) Guannan