Equivalent to convexity is that the Hessian matrix is positive semidefinite for all $x \in L$.