John Mayer wants to make music with his ex-girlfriend Katy Perry.

John Mayer

John Mayer

The 39-year-old guitarist dated the 'Roar' hitmaker on and off between 2012 and 2015 - during which time they recorded 'Who You Love' together - and, despite their shock split, he would be "open" to doing a song with her again in the future.

Speaking to E! News, he said: "If the right song came around. I look at great musicians--you write the right song, you send it to somebody, but I don't have anything in mind at the moment."

Shortly after their break up last year, the 32-year-old singer went on to date Orlando Bloom but she's made it clear to her new beau that she wants to remain close friends with John.

A source said: "Katy and John remain friends and care about each other. They just want to see each other happy. They have no animosity towards each other."

However, her friendship with John is not a problem for Orlando and things have reportedly got so serious between Katy and the 'Lord of the Rings' actor that he has even introduced her to his son Flynn, five, whom he has with his ex-wife Miranda Kerr.

The insider explained: "Katy and Orlando are doing really well. They have been hanging out a lot over the past two months. They are a very chill pair...They both communicate great and laugh when they are around each other.

"Katy has met Flynn, and they get along wonderful. She thinks he is so cute and such a well behaved kid! Katy would [also] like kids one day, and she is vocal about that."