> On Jul 6, 2017, at 10:11 AM, Marc-André Lureau <marcandre.lur...@redhat.com> > wrote: > > Hi > > ----- Original Message ----- >> >>> On Jul 6, 2017, at 9:56 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: >>> >>> >>> >>> On 06/07/2017 18:54, Harris, James R wrote: >>>> Hi Michael, >>>> >>>> Yes - we (SPDK team at Intel) have this on our TODO list, in addition >>>> to a polled mode virtio-scsi driver (akin to the DPDK virtio-net driver >>>> that >>>> can be used in the guest). >>> >>> Can you also look at virtio-blk poll-mode drivers and vhost-user-blk >>> (vhost-user-blk would be really easy to write, the sample server being >>> much more work than the QEMU code)? >>> >>> Paolo >> >> Hi Paolo, >> >> vhost-user-blk: >> >> We have an initial implementation in our SPDK QEMU repo. Changpeng Liu >> (added) >> will be sending this to the QEMU mailing list shortly. If you are interested >> in viewing it >> before it hits the mailing list, you can take a look at the patch here: >> >> https://github.com/spdk/qemu/commit/db2fcb0f5002c3d195e756eab07bd976ccf6e7c8 > > Great! I also just started looking into this, I'll take a look at your > implementation. Do you also have a "server"/slave side, or plan to share one?
We will add a sample server that can be upstreamed into QEMU, and will also provide a morefully-functional vhost-user-blk target with SPDK. A lot of the SPDK vhost-user-blk work has been pushed out to our master branch already, but there’s still some WIP. https://github.com/spdk/spdk/tree/master/lib/vhost -Jim