Re: [PATCH 07/31] vhost: dd vhost_svq_get_svq_call_notifier

2022-01-28 Thread Jason Wang
在 2022/1/22 上午4:27, Eugenio Pérez 写道: This allows vhost-vdpa device to retrieve device -> svq call eventfd. Signed-off-by: Eugenio Pérez What did 'dd' mean in the title? Thanks --- hw/virtio/vhost-shadow-virtqueue.h | 2 ++ hw/virtio/vhost-shadow-virtqueue.c | 12 2

Re: [PATCH] iommu/iova: Separate out rcache init

2022-01-28 Thread Robin Murphy
On 2022-01-28 11:32, John Garry wrote: On 26/01/2022 17:00, Robin Murphy wrote: As above, I vote for just forward-declaring the free routine in iova.c and keeping it entirely private. BTW, speaking of forward declarations, it's possible to remove all the forward declarations in iova.c now

[PATCH v3] vhost: cache avail index in vhost_enable_notify()

2022-01-28 Thread Stefano Garzarella
In vhost_enable_notify() we enable the notifications and we read the avail index to check if new buffers have become available in the meantime. We do not update the cached avail index value, so when the device will call vhost_get_vq_desc(), it will find the old value in the cache and it will read