Ketolysis drives CD8+ T cell effector function through effects on histone acetylation.