Re: [PATCH v2 07/14] vhost: Shadow virtqueue buffers forwarding

2022-03-02 Thread Jason Wang
在 2022/3/3 上午2:23, Eugenio Perez Martin 写道: + +static bool vhost_svq_add_split(VhostShadowVirtqueue *svq, +VirtQueueElement *elem, +unsigned *head) +{ +unsigned avail_idx; +vring_avail_t *avail = svq->vring.avail; + +*h

Re: [PATCH v2 07/14] vhost: Shadow virtqueue buffers forwarding

2022-03-02 Thread Eugenio Perez Martin
On Mon, Feb 28, 2022 at 6:39 AM Jason Wang wrote: > > > 在 2022/2/27 下午9:41, Eugenio Pérez 写道: > > Initial version of shadow virtqueue that actually forward buffers. There > > is no iommu support at the moment, and that will be addressed in future > > patches of this series. Since all vhost-vdpa de

Re: [PATCH v2 07/14] vhost: Shadow virtqueue buffers forwarding

2022-02-27 Thread Jason Wang
在 2022/2/27 下午9:41, Eugenio Pérez 写道: Initial version of shadow virtqueue that actually forward buffers. There is no iommu support at the moment, and that will be addressed in future patches of this series. Since all vhost-vdpa devices use forced IOMMU, this means that SVQ is not usable at this

[PATCH v2 07/14] vhost: Shadow virtqueue buffers forwarding

2022-02-27 Thread Eugenio Pérez
Initial version of shadow virtqueue that actually forward buffers. There is no iommu support at the moment, and that will be addressed in future patches of this series. Since all vhost-vdpa devices use forced IOMMU, this means that SVQ is not usable at this point of the series on any device. For s