« Previous | Next » 

Revision d44bb860

IDd44bb8604e87ecd3823f12f0c92d5e56d613de0d

Added by Amos Kong over 10 years ago

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 <>
Signed-off-by: Amos Kong <>
Message-id:
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences