Andrea Ranocchia headed the winning goal in the last minute of extra time as Inter Milan edged out Bologna 3-2 in a thrilling Coppa Italia quarter-final at the San Siro.

At the end of a match that produced a raft of high-quality strikes, Ranocchia popped up in the 120th minute to head home a corner beyond despairing Bologna goalkeeper Federico Agliardi, who went to ground much too easily under the challenge of Esteban Cambiasso.

Inter's win secures a two-legged semi-final encounter against the winner of Wednesday night's tie between Fiorentina and Roma.

Inter took the lead in the 34th minute when Fredy Guarin took aim from the edge of the area and drilled a fierce shot beyond Agliardi.

The hosts looked to have the game wrapped up in the 77th minute when Rodrigo Palacio added a stunning second, the substitute galloping down the left channel before cutting inside and curling in a thumping strike from 25 yards.

Bologna made a game of it in the 80th minute, however, as Alessandro Diamanti fired home a wonderful free-kick, and the unlikely fightback was complete four minutes later when Manolo Gabbiadini turned home Marco Motta's set-piece.

Both sides had chances to find a winner in normal time but 30 additional minutes were required, at the end of which Ranocchia emerged the hero as he nodded Inter into the last four.

Redknapp, who was speaking after Tuesday's 1-0 FA Cup third-round replay win at West Brom, said Remy will complete an ?8million transfer after passing a medical and agreeing personal terms and revealed he is also confident of sealing a ?7million deal for Rennes midfielder M'Vila in the next couple of days.

The pair are expected to go straight into the Rangers squad for the weekend Barclays Premier League clash with West Ham.

Redknapp said: "Remy had a medical today and the personal stuff is all sorted. "I watched him so many times when I was at Tottenham. The fee then was around about ?20million. He's a good buy for us. "It's all done, all sorted. I didn't think we'd get him. I went to see him at Marseille last week and he wasn't keen but the chairman Tony Fernandes worked ever so hard. He wouldn't give up and the boy decided to come. "He's quick, a French international, his movement is excellent and he has the potential to be a real star in the Premier League. "Newcastle United wanted him and Graham Carr (chief scout) doesn't make too many mistakes. Graham's got good judgement." As regards M'Vila, Redknapp said: "I also liked M'Vila when I was at Tottenham. "He's 22, played against England a couple of years ago for France, and was fantastic. "They (Rennes) turned down ?28million from an English club for him a year ago. Spurs offered ?15million for him in August. The deal looks okay. "M'Vila's had a few off-the-field problems. If he behaves himself, and plays as we know he can, he'll do well." M'Vila is currently banned from international duty until June 30, 2014 after he and four team-mates broke a curfew to visit a Parisian nightclub just days before a key game with the Under-21 side, against Norway in the European Championship play-offs in October. Redknapp is also still hopeful of signing Tottenham midfielder Jake Livermore on loan and has not ruled out renewing his interest in West Brom duo Jonas Olsson and Peter Odemwingie. Neither of the duo started Albion's 1-0 defeat at the hands of QPR in an FA Cup third round replay at the Hawthorns this evening. A second-half goal from Jay Bothroyd secured Rangers a home tie with MK Dons in the fourth round.