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

Commit

Permalink
Merge pull request #1381 from alicefr/bridges_func
Browse files Browse the repository at this point in the history
s390x: add bridges function
  • Loading branch information
Julio Montes authored Mar 19, 2019
2 parents dbc5a32 + 6a95ad2 commit 8e72cf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions virtcontainers/qemu_s390x.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ func newQemuArch(config HypervisorConfig) qemuArch {
return q
}

func (q *qemuS390x) bridges(number uint32) []types.PCIBridge {
return genericBridges(number, q.machineType)
}

// appendBridges appends to devices the given bridges
func (q *qemuS390x) appendBridges(devices []govmmQemu.Device, bridges []types.PCIBridge) []govmmQemu.Device {
return genericAppendBridges(devices, bridges, q.machineType)
Expand Down

0 comments on commit 8e72cf1

Please sign in to comment.