My question involves landlord-tenant law in the State of: Virginia

I signed a 6 month lease on an apartment about a year and a half ago. Included in the lease was a provision that unless I gave 60 days notice before the end of the lease, it would be automatically renewed for a year with an X% increase in rent.

From what I could find on the internet, there's nothing wrong with automatic renewals in general. My question is if it's legal for the renewal to be for a longer term than my original lease. Can a 6 month lease turn into a 12 month lease just like that?