The only weird part about the ruling is the jury wants to convict on the “gun charges” (that’s what the article referenced, doesn’t say what that means) but acquitted him on the shooting.
The original three charges (I don't know if any were modified later) were "aggravated malicious wounding, use of a firearm in the commission of a felony, and discharging a firearm within a building". In Virginia, use of a firearm in the commission of a felony acts as a multiplier charge for malicious wounding. My guess is that he was acquitted of malicious wounding and use of a firearm in commission of a felony, and convicted of discharging a firearm inside a building.