The governing body of any county or city may, within its respective jurisdiction or elsewhere, establish and maintain a farm where any person convicted and sentenced to confinement in the jail of such county or city, or sentenced to a state correctional institution, may be confined and required to do such work as may be assigned him during the term of his sentence. A local jail farm may be used to hold or confine any person who could be lawfully held or confined in a jail operated by the county or city.
The governing body or the farm board appointed to supervise and manage the farm may prescribe rules and regulations to govern the operation of the farm.
Va. Code § 53.1-96