You have a spherical mirror

You have a spherical mirror. The image of an object placed in front of the mirror is virtual. If the position of the object is changed, the image remains virtual and erect. Is the spherical mirror concave or convex ?

A convex mirror always produces a virtual and erect image irrespective of the position of the object in front of the mirror. So the given spherical mirror is convex in nature.