The roles of autophagy in viral infection are complicated.