Knockout of Gsdme switched the manner of death of A549 and human primary alveolar epithelial cells from pyroptosis to apoptosis upon H7N9 virus infection, and Gsdme knockout mice survived H7N9 virus lethal infection. Here, GSDME is linked to infection.