Kharn,
18.2-308.7 forbids "knowing and intentional" possession of a handgun or "assault firearm" by a minor (person under age of 18). The statute provides several exceptions including possessing with permission on private property, target shooting, firearm education, hunting etc.
18.2-297.4 generally forbids carrying certain loaded firearms in public in cities with a population of 160,000 or more or in a county with the urban county executive form of government or in a county with a city manager form of government. It's a strict liability crime (because it's a class 1 misdemeanor)(also not, as already stated above, I think, city ordinances can vary on more restrictive codes). Even so, conviction requires several essential elements:
1) If pistol or rifle, must be semi-automatic and be provided by the manufacturere with a) a mag cabable of holding 20 or more rounds OR, b) be designed to accommodate a "silencer" (idiots) OR, c) be equipped with a folding stock. If a shotgun, must have a mag that holds seven or more rounds.
2) Weapon must be loaded.
3) Accused must "carry on or about his person". Not in your trunk (there are code sections, however, that address how to "secure" the weapon while transporting).
4) Must be carried in a public place or open to the public.
5) City must have 160,000 residents or meet the county definition.
6) Does not apply to LEO, military (pursuant to duty), lawful hunters, lawful rec shooters at a range, licensed SGs, or persons "with a permit". Last one does not make sence because there is a CCW law in VA but not open carry permits.
Steve