cgroups: pass vhost-vsock device to cgroup
for the sandbox cgroup
@@ -56,6 +56,7 @@ func sandboxDevices() []specs.LinuxDeviceCgroup {
"/dev/kvm", // To run virtual machines
"/dev/vhost-net", // To create virtqueues
"/dev/vfio/vfio", // To access VFIO devices
+ "/dev/vhost-vsock", // To interact with vsock if
}
defaultDevices = append(defaultDevices, hypervisorDevices...)
