Virologists often take a functional definition of how much mutation is required to make a new virus. If two different strains have changed so much that immunity to one strain doesn’t provide protection from the other strain then they are considered different viruses.