diff options
author | Ladi Prosek | 2016-03-03 10:48:34 +0100 |
---|---|---|
committer | Amit Shah | 2016-03-03 13:12:26 +0100 |
commit | f8693c2cd06d0401007b2c168126ab907f6da345 (patch) | |
tree | a3b813016b49116b18a7e18c4f5021dd556c109c /linux-user/strace.c | |
parent | rng: add request queue support to rng-random (diff) | |
download | qemu-f8693c2cd06d0401007b2c168126ab907f6da345.tar.gz qemu-f8693c2cd06d0401007b2c168126ab907f6da345.tar.xz qemu-f8693c2cd06d0401007b2c168126ab907f6da345.zip |
virtio-rng: ask for more data if queue is not fully drained
This commit effectively reverts:
commit 4621c1768ef5d12171cca2aa1473595ecb9f1c9e
Author: Amit Shah <amit.shah@redhat.com>
Date: Wed Nov 21 11:21:19 2012 +0530
virtio-rng: remove extra request for entropy
but instead of calling virtio_rng_process unconditionally, it
first checks to see if the queue is empty as a little bit of
optimization.
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1456998514-19271-1-git-send-email-lprosek@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'linux-user/strace.c')
0 files changed, 0 insertions, 0 deletions