mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-04 03:29:55 +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:
		@@ -103,6 +103,9 @@ const (
 | 
			
		||||
 | 
			
		||||
	// PCIePCIBridgeDriver represents a PCIe to PCI bridge device type.
 | 
			
		||||
	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.
 | 
			
		||||
 
 | 
			
		||||
@@ -70,6 +70,7 @@ var isVirtioCCW = map[DeviceDriver]bool{
 | 
			
		||||
	VirtioNetCCW:        true,
 | 
			
		||||
	VirtioSerial:        true,
 | 
			
		||||
	VirtioBlock:         true,
 | 
			
		||||
	VirtioBlockCCW:      true,
 | 
			
		||||
	Console:             false,
 | 
			
		||||
	VirtioSerialPort:    false,
 | 
			
		||||
	VHostVSock:          true,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user