mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-29 04:25:40 +00:00
Add support for hot-plugging IBM VFIO-AP devices
Add ExecuteAPVFIOMediatedDeviceAdd to qmp.go, which executes a hotplug for an IBM Adjunct processor (AP) VFIO device (see also https://www.kernel.org/doc/html/latest/s390/vfio-ap.html ) Also includes the respective unittest and adds the VfioAP DeviceDriver constant to qemu.go. Pushing again due to incidental CI failure Fixes: #133 Signed-off-by: Jakob-Naucke <jakob.naucke@ibm.com> Reviewed-by: alicefr <afrosi@redhat.com>
This commit is contained in:
@@ -123,6 +123,9 @@ const (
|
||||
// VfioCCW is the vfio driver with CCW transport.
|
||||
VfioCCW DeviceDriver = "vfio-ccw"
|
||||
|
||||
// VfioAP is the vfio driver with AP transport.
|
||||
VfioAP DeviceDriver = "vfio-ap"
|
||||
|
||||
// VHostVSockPCI is a generic Vsock vhost device with PCI transport.
|
||||
VHostVSockPCI DeviceDriver = "vhost-vsock-pci"
|
||||
|
||||
|
Reference in New Issue
Block a user