Which of these has virtual focus?
concave lens
convex mirror
As for the concave lens the rays seem to be coming from a point behind the lens, that point is the virtual focus. Also, for convex mirrors the rays seem to be originating from the unpolished side of the mirror, so they also have virtual focus.