diff options
author | Amos Kong <akong@redhat.com> | 2013-11-21 18:53:23 +0800 |
---|---|---|
committer | Anthony Liguori <aliguori@amazon.com> | 2013-11-21 07:55:26 -0800 |
commit | d44bb8604e87ecd3823f12f0c92d5e56d613de0d (patch) | |
tree | f387c0a8005e623f2b262f53b2ba8f7d181d3a8a /backends/rng-egd.c | |
parent | 376827d48922941d16ef9949672e86f820005d0a (diff) |
virtio-rng: add check of period
If period is assigned to 0, limit timer will expire immediately.
It causes a qemu warning:
"main-loop: WARNING: I/O thread spun for 1000 iterations"
This limit is meaningless. This patch forbids to assign 0 to period.
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Amos Kong <akong@redhat.com>
Message-id: 1385031203-23790-1-git-send-email-akong@redhat.com
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
Diffstat (limited to 'backends/rng-egd.c')
0 files changed, 0 insertions, 0 deletions