Updated: May 06, 2022

Random service entropy library for a Virtio RNG (random number generator)


random -l[:option[,option ...]]

Runs on:

QNX Neutrino


Provide entropy to the random service at this interval, in seconds. (Range 1-300s, default 15s).
The minimum priority for the entropy collection thread.
For ARM targets, the MMIO address of the Virtio RNG (random number generator) device. To obtain address, in the QEMU console, enter info qtree.


The shared object reads entropy from a Virtio paravirtual RNG (random number generator) and provides it to the random service PRNG (pseudo-random number generator).

For example, to enable the Virtio RNG interface for a QEMU virtual machine, add the following option to the qemu-system-target command line:

-object rng-random,filename=/dev/urandom,id=rng0

For x86_64 architectures, add the following additional option:

-device virtio-rng-pci,rng=rng0

For AArch64 and ARM architectures, add the following additional option:

-device virtio-rng-device,rng=rng0


For AArch64:
random -t -l
For x86_64:
random -t -l