Steady and perturbed motion of a point vortex along a boundary with a circular cavity