Move validation functions in runconfig Upstream-commit: 62619a118f02e09b76a236ba07c9ac2fede51173 Component: engine