diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-05-05 23:49:14 +0530 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2010-05-05 23:51:14 +0530 |
commit | 7009b6546d5c70888857f28884c7c921b96af44c (patch) | |
tree | 72a937ff9a20bfbe6346abe27ca5e26574859554 | |
parent | 29e903ffc3e83d6336b27dab07bb620cb504256a (diff) | |
download | test-virtserial-7009b6546d5c70888857f28884c7c921b96af44c.tar.gz test-virtserial-7009b6546d5c70888857f28884c7c921b96af44c.tar.xz test-virtserial-7009b6546d5c70888857f28884c7c921b96af44c.zip |
auto-test: Open guest->host file transfer in nonblocking mode on guest
Let's see if this passes properly: The guest should get 'queue full'
quite a few times given writing to a disk on the host via qemu's
chardevs is slower than the guest giving us the data.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
-rw-r--r-- | auto-virtserial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auto-virtserial.c b/auto-virtserial.c index 4986672..ea749f8 100644 --- a/auto-virtserial.c +++ b/auto-virtserial.c @@ -1004,6 +1004,8 @@ static int test_guest_file_send(int nr) guest_open_port(nr); host_connect_chardev(nr); + ret = guest_set_port_nonblocking(nr, true); + ret = guest_open_guest_bigfile(1); err = result(__func__, true, "guest open", ret, -1, 0, OP_GT, false); if (err) |