diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-10-19 16:29:25 +0530 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2010-10-19 16:29:25 +0530 |
commit | 1565d95ef9a9256c3067cc8e8da96d2f4415b5b5 (patch) | |
tree | 27fe614f7f3ee7b37388631bc322b8c3ef933fc8 /run-test.sh | |
parent | 50135f0856137f6eb9a0ce3bb8dc244311cc804c (diff) | |
download | test-virtserial-1565d95ef9a9256c3067cc8e8da96d2f4415b5b5.tar.gz test-virtserial-1565d95ef9a9256c3067cc8e8da96d2f4415b5b5.tar.xz test-virtserial-1565d95ef9a9256c3067cc8e8da96d2f4415b5b5.zip |
virtio: console: Enable non-blocking write "flooding" test
This test was added to test the case where a guest keeps writing to the
host while the host doesn't consume any of the data. Without the
nonblock patches, the guest used to freeze. Now, with the port fd
opened in nonblocking mode, the guest returns -EAGAIN. This wasn't
enabled so far as the guest just froze. All current kernels have this
patch now, so enable it.
Also ensure POLLOUT is set when some data from the host is consumed.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'run-test.sh')
0 files changed, 0 insertions, 0 deletions