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:
Alice Frosi 2019-05-17 11:42:08 +02:00
parent 65cc343f7b
commit 713d0d9406
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -70,6 +70,7 @@ var isVirtioCCW = map[DeviceDriver]bool{
VirtioNetCCW: true,
VirtioSerial: true,
VirtioBlock: true,
VirtioBlockCCW: true,
Console: false,
VirtioSerialPort: false,
VHostVSock: true,