Configuring a random number generator
Provide a virtual random number generator only if the host is equipped with a hardware random number generator, such as the secure IBM® CCA coprocessor of a Crypto Express adapter.
Procedure
Use the rng element to configure a random number generator (see <rng>).
rng model attribute: | virtio |
Use the backend element as child of the rng element to specify the device node
of the input character device (see <backend>).
Currently, /dev/random is the only valid device node.
backend model attribute: | random |
backend element: | <device-node> |
Example
<devices>
...
<rng model="virtio">
<backend model="random">/dev/random</backend>
</rng>
...
</devices>