Hi Guys, Currently qemu and spdk already support vhost-user-scsi, but there is no vhost-user-scsi configuration in libvirt.
We hope that libvirt supports the following configurations to facilitate docking with qemu.
<controller type='scsi' index='0' model='vhost-user-scsi'> <driver queues='4'/> <source type='unix' path='/var/tmp/scsi'> <reconnect enabled='yes' timeout='3'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/> </controller> The usage in qemu like this: -chardev socket,id=chr-vu-virtio-disk10,path=/var/tmp/scsi,reconnect=3 -device vhost-user-blk-pci,num-queues=4,bus=pci.2,addr=0x0,chardev=chr-vu-virtio-disk10,id=scsi0 Could anyone give some suggestions? |