SCOTTSDALE, Ariz. -- Jake Peavy pitched five innings, and the San Francisco Giants snapped a four-game losing streak with an 8-3 exhibition victory against the Kansas City Royals on Monday.