HIV infection in humans with polymorphic MHC-I genotypes induces various patterns of viral antigen-specific CD8+ T-cell responses. Here, CD8A is linked to HIV infectious disease.