On the D-stability problem for real matrices