That flag in question was either the 5th North Carolina Infantry flag or the 3rd Virginia Cavalry (1 Guidon Captured).
I agree with everyone that the only Virginia Infantry was BG. Wise's Va brigade. I believe the flag was either captured at Saylor's Creek or in some skirmish/battle before Saylor's Creek. Interesting guess.
Have a good day,
Shawn Prouty