On Wed, Jul 10, 2019 at 06:43:56PM +0800, JinYu wrote: > A vhost-user-blk example that support inflight feature. It uses the > new APIs that introduced in the first patch, so It can show how there > APIs work to support inflight feature. > > Signed-off-by: JinYu <jin...@intel.com> > --- > V1 - add the case. > --- > examples/vhost_blk/Makefile | 67 +++ > examples/vhost_blk/blk.c | 118 ++++++ > examples/vhost_blk/blk_spec.h | 95 +++++ > examples/vhost_blk/meson.build | 20 + > examples/vhost_blk/vhost_blk.c | 589 ++++++++++++++++++++++++++ > examples/vhost_blk/vhost_blk.h | 96 +++++ > examples/vhost_blk/vhost_blk_compat.c | 193 +++++++++ > 7 files changed, 1178 insertions(+) > create mode 100644 examples/vhost_blk/Makefile > create mode 100644 examples/vhost_blk/blk.c > create mode 100644 examples/vhost_blk/blk_spec.h > create mode 100644 examples/vhost_blk/meson.build > create mode 100644 examples/vhost_blk/vhost_blk.c > create mode 100644 examples/vhost_blk/vhost_blk.h > create mode 100644 examples/vhost_blk/vhost_blk_compat.c > [...]
I don't know much about SCSI yet. Could you provide some details about why vhost-SCSI doesn't work with this inflight feature? Thanks, Tiwei