> Date: Fri, 25 Jan 2013 21:25:32 +0100 (CET)
> From: Stefan Fritsch <[email protected]>
> 
> Hi,
> 
> qemu 1.3 has added a virtio entropy device. Here is a driver for it. 
> Comments? OKs?
> 
> As the entropy reserve of the host may not be unlimited, the OpenBSD guest 
> should only ask for entropy when it actually needs it.

If qemu really allows the guest to consume the complete entropy
reserve of the host then that's a bug in qemu and/or the host OS.

> Would it make sense to add an API that allows a driver to determine
> how full the entropy queue is? This could also be used by some
> hardware drivers to avoid polling for entropy if not
> necessary. E.g. amdpm does the polling in every timer tick, which is
> wasteful.

Wasteful in what sense?  I doubt that reading the hardware registers
once every 10ms noticibly affects performance of the system.

Reply via email to