virtio-net: pass Device-TLB enable/disable events to vhost
authorViktor Prutyanov <viktor@daynix.com>
Mon, 26 Jun 2023 09:12:58 +0000 (12:12 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 19:07:50 +0000 (15:07 -0400)
commitcd9b8346884353ba9ae6560b44b7cccdf00a6633
tree31fe4429aa916cdd14f4865df921882db4e3af54
parentee071f67f7a103c66f85f68ffe083712929122e3
virtio-net: pass Device-TLB enable/disable events to vhost

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 <viktor@daynix.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230626091258.24453-3-viktor@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/virtio-net.c