mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-12 14:48:13 +00:00
s390x: change pci bridge type
Change type name for PCIBridge Fixes: #1141 Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
This commit is contained in:
parent
9b9ff2b7e6
commit
02261f9b40
@ -9,6 +9,7 @@ import (
|
||||
"fmt"
|
||||
govmmQemu "github.com/intel/govmm/qemu"
|
||||
"github.com/kata-containers/runtime/virtcontainers/device/config"
|
||||
"github.com/kata-containers/runtime/virtcontainers/types"
|
||||
)
|
||||
|
||||
type qemuS390x struct {
|
||||
@ -80,7 +81,7 @@ func newQemuArch(config HypervisorConfig) qemuArch {
|
||||
}
|
||||
|
||||
// appendBridges appends to devices the given bridges
|
||||
func (q *qemuS390x) appendBridges(devices []govmmQemu.Device, bridges []Bridge) []govmmQemu.Device {
|
||||
func (q *qemuS390x) appendBridges(devices []govmmQemu.Device, bridges []types.PCIBridge) []govmmQemu.Device {
|
||||
return genericAppendBridges(devices, bridges, q.machineType)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user