]> git.ipfire.org Git - thirdparty/qemu.git/commit - Makefile
contrib/vhost-user-blk: introduce a vhost-user-blk sample application
authorChangpeng Liu <changpeng.liu@intel.com>
Thu, 4 Jan 2018 01:53:34 +0000 (09:53 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Jan 2018 19:52:37 +0000 (21:52 +0200)
commit406d2aa2cc0770526081da00780ed2124cff1654
treea4e177a13f9cad88f287ed2afe2d5682266e96a4
parent0bc24d831e4979cce8f1ab28ae36c20597b92edc
contrib/vhost-user-blk: introduce a vhost-user-blk sample application

This commit introduces a vhost-user-blk backend device, it uses UNIX
domain socket to communicate with QEMU. The vhost-user-blk sample
application should be used with QEMU vhost-user-blk-pci device.

To use it, complie with:
make vhost-user-blk

and start like this:
vhost-user-blk -b /dev/sdb -s /path/vhost.socket

Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
.gitignore
Makefile
Makefile.objs
contrib/vhost-user-blk/Makefile.objs [new file with mode: 0644]
contrib/vhost-user-blk/vhost-user-blk.c [new file with mode: 0644]