There are a number of pathogens that cause viral myositis and there are usually other symptoms present which are characteristic of the causative organism. Viral causes include influenza A and B viruses, enteroviruses, HIV and hepatitis B and C viruses.

click to enlarge
Influenza A and B - were first shown to be a cause in 1970. These are the most common cause of viral myositis in the United States and the main symptoms are calf pain and a difficulty to walk. A study in 1989 found that myositis is common in 6% of children with type A influenza and in 34% with type B. Most cases tend to occur in children and the onset of viral infection symptoms is usually during the convalescence period i.e. after the main systemic symptoms of infection - so there is a small window of opportunity for antiviral medicines.
Enteroviruses - myositis caused by enteroviruses (small viruses made of RNA and protein) generally strikes children who typically present with a sharp chest pain. The pathogenesis of the inflammation is unknown but necrosis of muscle fibres have been detected in biopsies. The disease usually resolves in several days.
HIV - has not actually been found in muscle fibres; it's been detected in lymphoid cells surrounding the tissue. This has led scientists to conclude that the myositis is not caused by HIV directly, but maybe mediated by cytokines which are secreted from some types of immune cells.
Hepatitis B and C - symptoms include muscle weakness; and as with HIV, the myositis caused Hepatitis B or C infection is believed to be mediated by the immune system.
Other viruses associated with myositis include Epstein-Barr virus, West Nile virus, Dengue virus, and herpes simplex virus.