The 41-year-old coach's contract with Barca expires at the end of season and he has yet to commit his future to the Catalan club.
A move to Inter has been mooted as a possibility as the Nerazzurri are believed to be considering a managerial change following Claudio Ranieri's disappointing start at San Siro.
"Next season, Guardiola could be on Inter's bench, with Roberto Baggio as his assistant," Vialli told Sky Sports.
The Spanish coach, who has guided Barca to 13 titles since assuming the reins of the club's first team in 2008, wore a blue and black scarf in his side's Champions League clash with Leverkusen on Tuesday, but denied that he was hinting at a potential move to San Siro.
Since November, Goal.com has been publishing exclusive extracts from Graham Hunter's highly-anticipated new book, 'Barca: The Making of the Greatest Team in the World'. The very last extract, which is published on Friday, looks at Andres Iniesta's risky return from injury in the 2009 Champions League Final and how he was described by Wayne Rooney as the 'best midfielder in the world'. Don't miss it!