Manchester City boss Manuel Pellegrini says Gareth Barry wants to stay, but will understand if he alters that stance.