diff options
Diffstat (limited to 'auto-virtserial.c')
-rw-r--r-- | auto-virtserial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto-virtserial.c b/auto-virtserial.c index f242973..534947f 100644 --- a/auto-virtserial.c +++ b/auto-virtserial.c @@ -564,7 +564,7 @@ static int test_guest_throttle(int nr) ret = poll(pollfd, 1, 2000); if (ret == -1) error(errno, errno, "%s: poll\n", __func__); - } while ((pollfd[0].revents & POLLOUT) && (copied < 1048576)); + } while ((pollfd[0].revents & POLLOUT) && (copied < 1078672)); err = result(__func__, chardevs[nr].throttled, "throttle", pollfd[0].revents & POLLOUT, 0, POLLOUT, OP_EQ, true); @@ -594,7 +594,7 @@ static int test_host_throttle(int nr) ret = guest_write(nr, BUF_LENGTH); if (ret > 0) copied += ret; - } while ((copied < 1048576) && (ret > 0)); + } while ((copied < 1054672) && (ret > 0)); err = result(__func__, chardevs[nr].throttled, "throttle", ret, 0, -ENOSPC, OP_NE, true); |