https://oag.state.va.us/our-office/about-the-attorney-general
https://en.wikipedia.org/wiki/Attorney_General_of_Virginia
If the Virginia Governor can't perform his duties, his successor is the Lieutenant Governor. Next in the line of succesion is the Attorney General. See pic of current AG Mark Herring, who is a Democrat.