CRISPR/Cas9-mediated genome editing of CXCR4 protects Ghost X4 cells from HIV-1 infection. Here, CXCR4 is linked to HIV-1 infection.