mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 14:54:19 +01:00
qemu: Add s390x support
The PR adds the s390x support. It sets the CCW devices and sets to false all the devices in the mapping isVirtioPCI. It reimplements the functions QemuNetdevParam and QemuDeviceParam to print an error message if the vhost-user devices are used. It introduces a new function ExecuteNetCCWDeviceAdd for qmp for the CCW devices. Fixes: #37 Co-authored-by: Yash D Jain <ydjainopensource@gmail.com> Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
This commit is contained in:
@@ -65,6 +65,9 @@ const (
|
||||
// VirtioNetPCI is the virt-io pci networking device driver.
|
||||
VirtioNetPCI DeviceDriver = "virtio-net-pci"
|
||||
|
||||
// VirtioNetCCW is the virt-io ccw networking device driver.
|
||||
VirtioNetCCW DeviceDriver = "virtio-net-ccw"
|
||||
|
||||
// VirtioBlock is the block device driver.
|
||||
VirtioBlock DeviceDriver = "virtio-blk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user