Not necessarily great riffs, or great solos in particular. It could be both of these, or neither. Things like great rhythm playing also contribute to a fantastic guitar song. Songs like Little Wing or Sultans Of Swing don't have a true riff, but are regarded as some of the best guitar songs ever made. So, discuss it: best guitar songs, period.