Merge pull request #602 from kata-containers/vhu-issue-601

network: fix vhost-user net creation
This commit is contained in:
Julio Montes
2018-08-20 14:04:52 -05:00
committed by GitHub

View File

@@ -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)