British pop star Ed Sheeran is set for a cameo role in Danny Boyle's new film 'All You Need Is Love'.