This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtcontainers: fix sandbox store struct VFIODevice bug
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 <[email protected]>
- Loading branch information