There are different answers to this depending on the type of crime that we are talking about. In general, misdemeanors in the state of Virginia are treated differently than felonies when it comes to who has original jurisdiction.
In Virginia, courts called the general district courts have original jurisdiction over most misdemeanors and violations of local ordinances. A higher level of courts, called the circuit courts, has original jurisdiction over felonies and over misdemeanors that come from a grand jury indictment. The circuit courts have appellate jurisdiction over cases that are appealed from the general district courts. There are two further levels of appellate courts to which criminal cases can be appealed. These are the Court of Appeals and the Supreme Court