Re: [RFC PATCH v2 4/4] virtio-net: pass Device-TLB enable/disable events to vhost

2023-05-12 Thread Viktor Prutyanov
On Mon, May 8, 2023 at 8:26 AM Jason Wang wrote: > > On Mon, May 1, 2023 at 10:02 AM Viktor Prutyanov wrote: > > > > If vhost is enabled for virtio-net, Device-TLB enable/disable events > > must be passed to vhost for proper IOMMU unmap flag selection. > > The patch looks good, just wonder if you

Re: [RFC PATCH v2 4/4] virtio-net: pass Device-TLB enable/disable events to vhost

2023-05-07 Thread Jason Wang
On Mon, May 1, 2023 at 10:02 AM Viktor Prutyanov wrote: > > If vhost is enabled for virtio-net, Device-TLB enable/disable events > must be passed to vhost for proper IOMMU unmap flag selection. The patch looks good, just wonder if you have tested it with vhost-user? (It looks to me like it shoul

[RFC PATCH v2 4/4] virtio-net: pass Device-TLB enable/disable events to vhost

2023-04-30 Thread Viktor Prutyanov
If vhost is enabled for virtio-net, Device-TLB enable/disable events must be passed to vhost for proper IOMMU unmap flag selection. Signed-off-by: Viktor Prutyanov --- hw/net/vhost_net.c | 11 +++ hw/net/virtio-net.c | 8 include/net/vhost_net.h | 2 ++ 3 files change