mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-24 08:44:21 +01:00
gpu: Add ColdPlug of VFIO devices with devManager
If we have a VFIO device and cold-plug is enabled we mark each device as ColdPlug=true and let the VFIO module do the attaching. Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
@@ -509,9 +509,9 @@ type HypervisorConfig struct {
|
||||
// The PCIe Root Port device is used to hot-plug the PCIe device
|
||||
PCIeRootPort uint32
|
||||
|
||||
// RawDevics are used to get PCIe device info early before the sandbox
|
||||
// VFIODevics are used to get PCIe device info early before the sandbox
|
||||
// is started to make better PCIe topology decisions
|
||||
RawDevices []config.DeviceInfo
|
||||
VFIODevices []config.DeviceInfo
|
||||
|
||||
// ColdPlugVFIO is used to indicate if devices need to be coldplugged on the
|
||||
// root port, switch or no port
|
||||
|
||||
Reference in New Issue
Block a user