Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run-tests: use empty fifo instead of /dev/zero if stdin is /dev/null
To work around a qemu bug [1] we redirect stdin of virtme-run from /dev/zero. This has the possible downside that a read from /dev/zero always returns data. This means that anything reading stdin in the VM will get a bunch of garbage. Detect a closed stdin and replace it with an empty fifo. 1: amluto/virtme#33
- Loading branch information