Message ID | 20230725141009.3372529-14-mjt@tls.msk.ru |
---|---|
State | New |
Headers | show |
Series | Patch Round-up for stable 7.2.5, freeze on 2023-08-05 | expand |
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index 4abd49e298..8cd7a400a0 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -3888,6 +3888,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 = {