Immunity and immunopathology to viruses: what decides the outcome?

Immunity and immunopathology to viruses: what decides the outcome?