Virginia has pre-emption of pretty much all matters of law. Cities and counties can only pass zoning ordinances.
For example, it's not possible for a VA city or county to make something a crime, unless there's a specific law on the state level allowing them to.