Peavy surrendered four runs over five-plus innings and was the losing pitcher in the Giants' 7-2 loss to the Royals.