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>
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- Makefile 3 additions, 0 deletionsMakefile
- Makefile.objs 1 addition, 0 deletionsMakefile.objs
- contrib/vhost-user-blk/Makefile.objs 1 addition, 0 deletionscontrib/vhost-user-blk/Makefile.objs
- contrib/vhost-user-blk/vhost-user-blk.c 545 additions, 0 deletionscontrib/vhost-user-blk/vhost-user-blk.c
Loading
Please register or sign in to comment