Xavi Hernandez left Barcelona according to his wishes several months ago, although there was news that he had cancel his intention to leave Barcelona, but in the end that happened.
He shouldn't have any difficulty finding a club to continue his coaching career, maybe he can accept an offer from an English club if there is one, because several clubs in England have not yet confirmed their new coach or maybe he can join Serie A.
Barcelona's last match against Sevilla went according to predictions because Barca not only won the match but they also controlled the game, and this victory further increased Barcelona's dominance in H2H over Sevilla who could only occasionally beat Barca.
I read the news which said that at that time Xavi decided to leave Barcelona because of their poor performance and Xavi felt very disappointed with the club management. But in the next few matches, Barca achieved positive results and put them back in the race for the title. Even though he didn't succeed in becoming champion, I think Xavi succeeded in providing the best results for Barca by finishing in second place this season. I don't know what Laporta was thinking by firing Xavi. I heard rumors that there was a dispute between them. Xavi is a great coach and I'm sure he will be recruited by another team again in the near future.
I thought he was going to remain at the club for so long,but it's sad that he left,and Barcelona are going to really miss him because he brought them this far,brought back the culture of Barcelona,and carried it on till he won the Lalliga tittle with them last season.