The VA coat of arms is centered on the Appomattox flag within the Federal coat of arms. That tells me that this is a militia era flag from 1859-1860 that was pressed into use for the war (as happened).
Greg Biggs