]> git.ipfire.org Git - thirdparty/qemu.git/commit
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 Tokarev <mjt@tls.msk.ru>
Mon, 31 Jul 2023 06:10:51 +0000 (09:10 +0300)
commit123b4291f90bd1945b632e73bed1b1b7943f9ae1
tree033296e8fa79b190d25a499669a6e65dc58d02e2
parent8eed78e2bff8151f92c4e715a5f9674de56cdf06
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>
(cherry picked from commit cd9b8346884353ba9ae6560b44b7cccdf00a6633)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/net/virtio-net.c