A circuit court may, on motion of the accused or of the Commonwealth, for good cause, order the venue for the trial of a criminal case in such court to be changed to some other circuit court. Such motion when made by the accused may be made in his absence upon a petition signed and sworn to by him.
Whenever the mayor of any city, or the sheriff of any county, shall call on the Governor for military force to protect the accused from violence, the judge of the circuit court of the city or county having jurisdiction of the offense shall, upon a petition signed and sworn to by the accused, whether he be present or not, at once order the venue to be changed to the circuit court of a city or county sufficiently remote from the place where the offense was committed to insure the safe and impartial trial of the accused.
Va. Code § 19.2-251