Barcelona want to agree a new contract with Xavi which could result in the midfielder ending his playing career at Camp Nou.