Spdk/test
Changpeng Liu da231290b2 lib/vfu_tgt: add library for PCI device emulation
Previously SPDK use libvfio-user library to provide emulated NVMe
devices to VM, but it's limited to NVMe device type only.  Here we
add SPDK vfu_target library abstraction based on libvfio-user which
supports more PCI device types.

We will add virtio-blk and virtio-scsi devices emulation based on
vfu_tgt library in following patches, actually this library can
support NVMe emulation too, due to the fact that the NVMe emulation
is already exist, so we will keep the NVMe emulation which based on
libvfio-user directly as it is.

Change-Id: Ib0ead6c6118fa62308355fe432003dd928a2fae9
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12597
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2022-09-29 19:42:56 +00:00
..
accel accel: Do not refer to the "framework" as "engine" 2022-09-06 07:16:17 +00:00
app test/llvm_vfio_fuzz: test normal IO during fuzzing 2022-09-27 19:41:07 +00:00
bdev lib/nbd:export bdev flush and trim ability 2022-09-16 13:32:13 +00:00
blobfs trace: update trace help inside SPDK target 2022-09-27 19:41:17 +00:00
blobstore autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
common test/llvm_vfio_fuzz: initial commit for vfio-user fuzzer 2022-09-23 15:16:01 +00:00
compress test/compress: change environment variable to "NET_TYPE=virt" in 2022-09-21 07:49:41 +00:00
cpp_headers lib/vfu_tgt: add library for PCI device emulation 2022-09-29 19:42:56 +00:00
dd test/dd: Wait 1s before checking the noatime flag 2022-09-27 15:42:06 +00:00
dma check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
dpdk_memory_utility autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
env env_dpdk: add dpdk_pci_device_get_mem_resource 2022-09-29 15:32:24 +00:00
event check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
external_code configure/misc: make ISA-L a hard dependency 2022-09-20 10:18:54 +00:00
ftl ftl: Remove unnecessary bdev_nvme_detach_controller from test 2022-09-20 19:24:26 +00:00
fuzz test/fuzz: Add '-s 256' argument to autofuzz_vhost.sh script 2022-09-27 15:41:43 +00:00
interrupt scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt trace: update trace help inside SPDK target 2022-09-27 19:41:17 +00:00
json_config accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
lvol bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
make event: make opts structures packed 2022-08-18 10:08:40 +00:00
nvme hotplug: use RPC instead of reading hotplug logs 2022-09-23 12:54:44 +00:00
nvmf test/llvm_vfio_fuzz: test normal IO during fuzzing 2022-09-27 19:41:07 +00:00
ocf autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
openstack run_openstack_tests.sh: move rpc_py declaration below source commands 2022-09-08 07:20:17 +00:00
pmem bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
rpc scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
rpc_client check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler test/scheduler: Fallback to checking user mode load if idle check fails 2022-09-26 15:36:07 +00:00
setup test/setup: Remove the hp_status() test 2022-08-09 14:38:30 +00:00
sma test/sma: add test for multiple bus support for NVMe/vfio_user plugin 2022-09-23 11:33:07 +00:00
spdkcli test/spdkcli: reduce amount of HUGEMEM memory requested 2022-09-19 13:11:06 +00:00
thread Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
unit nvmf/tcp: Refine the macro definition of queue depth 2022-09-28 06:39:14 +00:00
vfio_user test/vfio-user: skip NVMeoF target coremask for VMs 2022-09-19 12:47:37 +00:00
vhost perf/vhost: Add NUMA-aware cgroup setup for the VMs 2022-09-15 20:15:57 +00:00
vmd vmd: rename enable_vmd RPC to vmd_enable 2022-09-01 08:48:32 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_cunit.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00