The protein shell that surrounds a virus.