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