Barcelona midfielder Sergi Busquets says Spain are happy to have avoided Brazil in the round of 16.
Instead, Spain face rivals Portugal after victory over Chile.
"We did not start as well as we wanted, but we had confidence that we were going to get ahead. Villa 's goal gave us peace of mind. They pressurised us but we knew we could deal with this, tightening up," said Busquets.
"We got distracted from our game plan but played like a team. Brazil would very difficult, we saw that in the Confederations Cup but Portugal is also a hard game for us. Now it is all life or death."