+12
−5
Loading
There are configuration details that are needed to configure the virtio device based on spdk_bdev properties. Please see vhost_blk_get_config() for an example of vhost_user retrieving properties of bdev such as size or supported I/O type. Rather than trying to anticipate every such property, add vhost_blk_get_bdev() to allow usage of bdev API directly. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I757f96e2fb0861c97b07ce279a7c04c77a2ad11f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12373 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>