mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-25 10:04:20 +01:00
Since struct VFIODevice needed to be stored into disk by storeSandboxDevices() function, however struct VFIODevice has a field named "vfioDevs", which is named begin with lower-case, so it can't be written into file by json.Marshal.And this bug will will cause hotplug vfio device can not been removed correctly while container exits. Fixes: #924 Signed-off-by: flyflypeng <jiangpengfei9@huawei.com>