diff --git a/virtcontainers/network.go b/virtcontainers/network.go index 3778471982..933092d473 100644 --- a/virtcontainers/network.go +++ b/virtcontainers/network.go @@ -286,6 +286,7 @@ func (endpoint *VhostUserEndpoint) Attach(h hypervisor) error { ID: id, SocketPath: endpoint.SocketPath, MacAddress: endpoint.HardAddr, + Type: config.VhostUserNet, } return h.addDevice(d, vhostuserDev)