The biallelic inactivation of CXCR4 by lentivirus-mediated delivery of CRISPR/cas9 constructs rendered the modified cells resistant to HIV-1 infection. Here, CXCR4 is linked to HIV-1 infection.