mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 06:52:13 +00:00
cache-factory: set bridge info when creating vm
For now, we will encounter `failed to get available address from bridges` error when launching kata containers from cache factory. Although we've already passed bridges info to clients from cache factory server, we still missed the setting part when creating vm. Fixes: #2272 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
parent
3d8ffe4120
commit
837a0ee0ae
@ -1942,6 +1942,7 @@ func (q *qemu) fromGrpc(ctx context.Context, hypervisorConfig *HypervisorConfig,
|
||||
|
||||
q.qemuConfig.SMP = qp.QemuSMP
|
||||
|
||||
q.arch.setBridges(q.state.Bridges)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user