| 8dce8605 | 25-Sep-2024 |
Anton Nayshtut <anayshtut@nvidia.com> |
module/vfu_device/vfu_virtio_fs: EP destruction fixed
vfu_virtio_fs_endpoint_destruct() now initiates the FUSE dispatcher's descruction and then returns -EGAIN until it had been finished.
Change-Id
module/vfu_device/vfu_virtio_fs: EP destruction fixed
vfu_virtio_fs_endpoint_destruct() now initiates the FUSE dispatcher's descruction and then returns -EGAIN until it had been finished.
Change-Id: I415b53b6e0fcbe15517219042fed3432f810c570 Signed-off-by: Anton Nayshtut <anayshtut@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25025 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeliu@tencent.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
| 5004d7b8 | 12-May-2022 |
Changpeng Liu <changpeng.liu@intel.com> |
module/vfu_device: add virtio-scsi emulation
Here we use vfu_tgt library and emulate a virtio-scsi device as the next use case.
Compared with vhost-user-scsi, the packed ring is supported with this
module/vfu_device: add virtio-scsi emulation
Here we use vfu_tgt library and emulate a virtio-scsi device as the next use case.
Compared with vhost-user-scsi, the packed ring is supported with this patch.
Example usage method:
1. scripts/rpc.py bdev_malloc_create -b malloc0 $((512)) 512 2. scripts/rpc.py vfu_virtio_create_scsi_endpoint vfu.0 --cpumask 0x1 --num-io-queues=4 \ --qsize=128 --packed-ring 3. scripts/rpc.py vfu_virtio_scsi_add_target vfu.0 --scsi-target-num=0 --bdev-name malloc0 4. Start QEMU with '-device vfio-user-pci,socket=/spdk/vfu.0'
Change-Id: I8f35d1d21aaec34844d6ddb59dc997a64f141179 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12673 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>
show more ...
|