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
commit 8bbd9b5878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)