Global linear stability analysis is an effective way to predict the exact condition at which flow goes unstable. Compared to the time-domain simulation approach, eigenanalysis method can equivalently predict the destabilization condition, but at a much lower cost, since unsteady simulations are no longer required. In this work, a Newton-Krylov nonlinear flow solver is used to first solve for the steady state flow solution and then eigenanalysis is performed by applying the implicit-restart Arnoldi method to the exact Jacobian matrix. By tracking a subset of the eigenspectrum that is close to the imaginary axis, the least stable eigenmodes can be found. By perturbing the bifurcation parameter, e.g., the Reynolds number, the Hopf bifurcation point can be identified. This method is applied to find the critical Reynolds number for a laminar flow around a circular cylinder above which laminar vortex shedding appears. Time-accurate unsteady simulation confirms the correctness of the critical eigenvalue and eigenvector found. It is also applied to a quasi-3D compressor rotor annular cascade case, for which eigenanalysis is performed and flow physics is analyzed based on the unstable modes identified. Interesting correlation between the rotating perturbation pattern and cell rotating speed is found, which resembles what is observed in experiments. This work is a first step towards the study of rotating flow instabilities in turbomachines, such as rotating stall and rotating instability, and the preliminery results proved promising for future application to three-dimensional practical problems.