If you didn't live in Virginia, you need to file VA non- resident return and only report the income attributable to VA ( your rental income).
How do I file a nonresident state return? - TurboTax