qemu/hw/virtio
Ladi Prosek f8693c2cd0 virtio-rng: ask for more data if queue is not fully drained
This commit effectively reverts:

  commit 4621c1768e
  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>
2016-03-03 17:42:26 +05:30
..
Makefile.objs vring: remove 2016-02-25 13:14:19 +02:00
vhost-backend.c virtio: Clean up includes 2016-01-29 15:07:23 +00:00
vhost-user.c vhost-user: don't merge regions with different fds 2016-02-23 12:55:16 +02:00
vhost.c vhost-user: don't merge regions with different fds 2016-02-23 12:55:16 +02:00
virtio-balloon.c balloon: Use only 'pc-dimm' type dimm for ballooning 2016-02-25 13:14:18 +02:00
virtio-bus.c virtio: Clean up includes 2016-01-29 15:07:23 +00:00
virtio-mmio.c virtio: Clean up includes 2016-01-29 15:07:23 +00:00
virtio-pci.c vhost-user interrupt management fixes 2016-02-18 16:13:56 +02:00
virtio-pci.h 9pfs: introduce V9fsVirtioState 2016-01-12 11:04:14 +05:30
virtio-rng.c virtio-rng: ask for more data if queue is not fully drained 2016-03-03 17:42:26 +05:30
virtio.c virtio: export vring_notify as virtio_should_notify 2016-02-25 13:14:18 +02:00