qemu.tests: Set restart_network to True when check guest network

As the link up and down in set_link may cause ip change in some enviroment.
We need add restart_network when we try to login guest after the operations.