Spdk/lib/vhost
Tomasz Zawadzki aec00435a0 lib/vhost: separate out bdev events handling
Generic vhost-blk layer is responsible for opening the bdev
attached to the vhost controller.

This patch adds vhost_user_bdev_event_cb() that is called
for vhost_user backend. This function will be replaced with
a callback to particular virtio-blk transport.

Having this piped through to the transports, allows
to adjust their behavior upon bdev events.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Id73f5131b6e57f0354e970d0bce92716ec69985b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12132
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-05-20 19:40:56 +00:00
..
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
rte_vhost_user.c event/vhost: separate vhost subsystem to scsi and blk 2022-05-20 09:20:07 +00:00
spdk_vhost.map event/vhost: separate vhost subsystem to scsi and blk 2022-05-20 09:20:07 +00:00
vhost_blk.c lib/vhost: separate out bdev events handling 2022-05-20 19:40:56 +00:00
vhost_internal.h lib/vhost: expose spdk_bdev to virtio_blk transports 2022-05-20 19:40:56 +00:00
vhost_rpc.c vhost: parse JSON vhost_blk devices specific params 2022-04-11 07:44:09 +00:00
vhost_scsi.c event/vhost: separate vhost subsystem to scsi and blk 2022-05-20 09:20:07 +00:00
vhost.c event/vhost: separate vhost subsystem to scsi and blk 2022-05-20 09:20:07 +00:00