Here, we demonstrate that the epigenetic regulator G9a mediates tolerance to virus infection in Drosophila. We found that G9a-deficient flies succumb faster than control flies to infection with RNA viruses, but that the viral burden did not significantly differ. This evidence concerns the gene EHMT2 and infection.