Updated: October 28, 2024 |
Random service entropy library for a Virtio RNG (random number generator)
random -l devr-virtio.so[:option[,option ...]]
QNX Neutrino
The devr-virtio.so 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
random -t -l devr-virtio.so:mem=0x1c130200For x86_64:
random -t -l devr-virtio.so