  We study gravity duals to a broad class of N=2 supersymmetric gauge theories
defined on a general class of three-manifold geometries. The gravity
backgrounds are based on Euclidean self-dual solutions to four-dimensional
gauged supergravity. As well as constructing new examples, we prove in general
that for solutions defined on the four-ball the gravitational free energy
depends only on the supersymmetric Killing vector, finding a simple closed
formula when the solution has U(1) x U(1) symmetry. Our result agrees with the
large N limit of the free energy of the dual gauge theory, computed using
localization. This constitutes an exact check of the gauge/gravity
correspondence for a very broad class of gauge theories with a large N limit,
defined on a general class of background three-manifold geometries.
