acrn-hypervisor/doc/developer-guides/hld/virtio-rnd.rst
David B. Kinder 1e38544112 doc: reorganize HLD docs
Reorganize the high-level design docs to align with a work-in-progress
HLD document.  Migrate previous web content (and images) into the new
organization.

From here we'll continue inclusion of new design chapters as they're
reviewed and edited.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2018-10-05 16:08:15 -07:00

22 lines
585 B
ReStructuredText

.. _virtio-rnd:
Virtio-rnd
##########
The virtio-rnd entropy device supplies high-quality randomness for guest
use. The virtio device ID of the virtio-rnd device is 4, and it supports
one virtqueue, the size of which is 64, configurable in the source code.
It has no feature bits defined.
When the FE driver requires some random bytes, the BE device will place
bytes of random data onto the virtqueue.
To launch the virtio-rnd device, use the following virtio command::
-s <slot>,virtio-rnd
To verify the correctness in user OS, use the following
command::
od /dev/random