Other herpesviruses fall into the subfamilies of Alphaherpesvirinae ( including HSV 1 and 2 and varicella ) or Gammaherpesvirinae ( including Epstein-Barr virus ) . It is related to other herpesviruses within the subfamilies of Alphaherpesvirinae that includes herpes simplex viruses ( HSV ) -1 and -2 and varicella-zoster virus ( VZV ) , and the Gammaherpesvirinae subfamily that includes Epstein-Barr virus .