According to Gilbert Highet in The Classical Tradition, the misspelling (Virgil) began early, possibly as the result of Vergil's nickname Parthenias which was based on the poet's sexual restraint. In the Middle Ages the name Virgil was thought to refer to his magical (as in the virga magic wand) powers.
See also: