Convenience chain 7-Eleven has agreed to purchase 14 gasoline stations in Virginia from Quarles Petroleum.