mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 16:27:52 +00:00
s390x: add bridges function
The bridges function was missing for s390x Fixes: #1380 Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
This commit is contained in:
@@ -80,6 +80,10 @@ func newQemuArch(config HypervisorConfig) qemuArch {
|
|||||||
return q
|
return q
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (q *qemuS390x) bridges(number uint32) []types.PCIBridge {
|
||||||
|
return genericBridges(number, q.machineType)
|
||||||
|
}
|
||||||
|
|
||||||
// appendBridges appends to devices the given bridges
|
// appendBridges appends to devices the given bridges
|
||||||
func (q *qemuS390x) appendBridges(devices []govmmQemu.Device, bridges []types.PCIBridge) []govmmQemu.Device {
|
func (q *qemuS390x) appendBridges(devices []govmmQemu.Device, bridges []types.PCIBridge) []govmmQemu.Device {
|
||||||
return genericAppendBridges(devices, bridges, q.machineType)
|
return genericAppendBridges(devices, bridges, q.machineType)
|
||||||
|
Reference in New Issue
Block a user