Message ID | 20230626091258.24453-3-viktor@daynix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | vhost: register and change IOMMU flag depending on ATS state | expand |
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index 6df6b7329d..30497c00b5 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -3951,6 +3951,7 @@ static void virtio_net_class_init(ObjectClass *klass, void *data) vdc->vmsd = &vmstate_virtio_net_device; vdc->primary_unplug_pending = primary_unplug_pending; vdc->get_vhost = virtio_net_get_vhost; + vdc->toggle_device_iotlb = vhost_toggle_device_iotlb; } static const TypeInfo virtio_net_info = {