support for restart policy, devices, cpushares and its tests