How to solve the error Only scalar quadratic forms can be specified in CVX

That is non-convex. Even if x were a scalar, the inequality is going the wrong direction to be convex.