On 13:18 Sat 19 Jul , Zhang Min wrote: > libvirt support vhost-scsi controller. The way to config > the vhost-scsi controller is edit the xml file, Format is > as follows: > > <controller type='scsi' index='0' model='vhost-scsi'> > <source wwpn='naa.6001405f5e3acbba' event_idx='on'/> > </controller> > > the tag of "wwpn" is necessary, the 'model' must be 'vhost-scsi' > 'event_idx' is optional. > > Signed-off-by: Zhang Min <rudy.zhangmin@xxxxxxxxxx> This patch will not work without passing a pre-opened file descriptor to vhost-scsi, so that the child qemu process can interact with the vhost-scsi character device. Please take a look at the following patch for further progress on this: https://www.redhat.com/archives/libvir-list/2014-July/msg01235.html -- Mike Perez -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list