On 2020/5/29 下午10:06, Cindy Lu wrote:
From: Tiwei Bie<tiwei....@intel.com>
Consider the significant modification based on the original patch.
I think you may change the other to yourslef and keep the sobs for both
Tiwei and Lingshan.
Thanks
Currently we have 2 types of vhost backends in QEMU: vhost kernel and
vhost-user. The above patch provides a generic device for vDPA purpose,
this vDPA device exposes to user space a non-vendor-specific configuration
interface for setting up a vhost HW accelerator, this patch set introduces
a third vhost backend called vhost-vdpa based on the vDPA interface.
Vhost-vdpa usage:
qemu-system-x86_64 -cpu host -enable-kvm \
......
-netdev type=vhost-vdpa,vhostdev=/dev/vhost-vdpa-id,id=vhost-vdpa0 \
-device virtio-net-pci,netdev=vhost-vdpa0,page-per-vq=on \
Co-Authored-By: Lingshan zhu<lingshan....@intel.com>
Signed-off-by: Cindy Lu<l...@redhat.com>