qemu-e2k/hw/virtio
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
..
dataplane
Makefile.objs
vhost.c
virtio-balloon.c
virtio-bus.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
virtio-mmio.c qdev: Pass size to qbus_create_inplace() 2013-08-30 21:15:35 +02:00
virtio-pci.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
virtio-pci.h
virtio-rng.c virtio-rng: add check of period 2013-11-21 07:55:26 -08:00
virtio.c