Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
cache-factory: set bridge info when creating vm
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Pennyzct authored and Bin Lu committed Nov 26, 2019
1 parent 3d8ffe4 commit 837a0ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions virtcontainers/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 837a0ee

Please sign in to comment.