mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-04 02:56:18 +00:00
Merge pull request #602 from kata-containers/vhu-issue-601
network: fix vhost-user net creation
This commit is contained in:
commit
8bbd9b5878
@ -324,6 +324,7 @@ func (endpoint *VhostUserEndpoint) Attach(h hypervisor) error {
|
|||||||
ID: id,
|
ID: id,
|
||||||
SocketPath: endpoint.SocketPath,
|
SocketPath: endpoint.SocketPath,
|
||||||
MacAddress: endpoint.HardAddr,
|
MacAddress: endpoint.HardAddr,
|
||||||
|
Type: config.VhostUserNet,
|
||||||
}
|
}
|
||||||
|
|
||||||
return h.addDevice(d, vhostuserDev)
|
return h.addDevice(d, vhostuserDev)
|
||||||
|
Loading…
Reference in New Issue
Block a user