autotest/virt-test — pull request #124 by ldoktor (2012-12-04 13:17:18+00:00)
Title: virtio_console: remove the problem with stuck loopback test

When the VM dies and than we try to readout the port on host, autotest gets stuck for ever. I fixed this by not reading-out the ports when vm.is_dead(). It should be safe because during vm.create() sockets are initialized again.

Additionally I added periodical check for loopback test failures. Now we don't have to wait whole test_time period of time to realize that the first transferred byte was wrong...