Now having tossed out the 22nd VA Cavalry regiment as a possible ID for WD 171, I now take that back. WD 238, ID'd as being the flag of this regiment, was captured in November 1864 so We are probably looking at the 36th VA Cav Btn. for the ID of WD 171.
Greg Biggs