mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-22 13:38:26 +00:00
s390x: add virtio-blk-ccw type
In order to hotplug virtio-blk, on s390x the CCW device drivers is used instad of PCI. Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
This commit is contained in:
parent
65cc343f7b
commit
713d0d9406
@ -103,6 +103,9 @@ const (
|
|||||||
|
|
||||||
// PCIePCIBridgeDriver represents a PCIe to PCI bridge device type.
|
// PCIePCIBridgeDriver represents a PCIe to PCI bridge device type.
|
||||||
PCIePCIBridgeDriver DeviceDriver = "pcie-pci-bridge"
|
PCIePCIBridgeDriver DeviceDriver = "pcie-pci-bridge"
|
||||||
|
|
||||||
|
// VirtioBlockCCW is the CCW block device driver
|
||||||
|
VirtioBlockCCW DeviceDriver = "virtio-blk-ccw"
|
||||||
)
|
)
|
||||||
|
|
||||||
// disableModern returns the parameters with the disable-modern option.
|
// disableModern returns the parameters with the disable-modern option.
|
||||||
|
@ -70,6 +70,7 @@ var isVirtioCCW = map[DeviceDriver]bool{
|
|||||||
VirtioNetCCW: true,
|
VirtioNetCCW: true,
|
||||||
VirtioSerial: true,
|
VirtioSerial: true,
|
||||||
VirtioBlock: true,
|
VirtioBlock: true,
|
||||||
|
VirtioBlockCCW: true,
|
||||||
Console: false,
|
Console: false,
|
||||||
VirtioSerialPort: false,
|
VirtioSerialPort: false,
|
||||||
VHostVSock: true,
|
VHostVSock: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user