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

What is an "illegal bedroom"? The house that I was living in had one room walled off to create a make-shift bedroom that did not have a built-in closet. Instead an Ikea wardrobe that held about three shirts was provided. Is this legal?

The creation of this "bedroom" turned a 4 bedroom house into a five bedroom house.