mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 15:28:10 +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
|
||||
}
|
||||
|
||||
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)
|
||||
|
Reference in New Issue
Block a user