[libvirt] [PATCH] support vhost-scsi controller

Mike Perez thingee at gmail.com
Mon Jul 28 10:49:59 UTC 2014


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 at huawei.com>

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




More information about the libvir-list mailing list