Amos Kong d44bb8604e 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>
2013-11-21 07:55:26 -08:00
..
2013-11-05 19:57:46 -08:00
2013-10-31 16:58:32 +01:00
2013-11-05 19:57:47 -08:00
2013-11-05 20:01:11 -08:00
2013-07-29 21:06:57 +02:00
2013-07-29 21:07:02 +02:00
2013-11-21 07:54:03 -08:00
2013-11-05 19:57:47 -08:00
2013-10-14 17:48:52 +03:00
2013-09-03 12:31:07 -05:00
2013-07-29 21:07:01 +02:00
2013-11-05 20:04:03 -08:00
2013-08-22 19:10:27 +02:00
2013-11-21 07:55:26 -08:00
2013-09-03 12:31:07 -05:00