1dae563373
rte_vhost_compat.c will now not only handle vhost-user messages over the unix domain socket, but also setup that unix domain socket with rte_vhost's APIs. What was previously called vhost_dev_install_rte_compat_hooks() is now called vhost_register_unix_socket() and is responsible for creating the entire unix domain socket. This enables us to write more advanced unit tests for vhost. Instead of mocking low-level rte_vhost APIs, we could now potentially mock vhost_register_unix_socket() and create vhost devices and sessions without any actual unix domain sockets involved. Change-Id: Ifb18b92b37915c3f683b6d4fcdcc9259a3770561 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470455 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
app | ||
bdev | ||
blobfs | ||
blobstore | ||
common | ||
compress | ||
config_converter | ||
cpp_headers | ||
env | ||
event | ||
ftl | ||
fuzz | ||
ioat | ||
iscsi_tgt | ||
json_config | ||
lvol | ||
make | ||
nvme | ||
nvmf | ||
ocf | ||
openstack | ||
pmem | ||
rpc_client | ||
spdkcli | ||
unit | ||
vhost | ||
vmd | ||
Makefile | ||
spdk_cunit.h |