Repository navigation
virtiorng.device 1.1 Kickstart / 1.2 disk (beta)
Pre-release
Pre-release
virtiorng.device 1.1 / 1.2 (beta): an entropy (random number) device for QEMU's virtio-rng card (virtio-rng-pci), for AmigaOS 4.1 Final Edition running in QEMU. Programs read random bytes from the host with CMD_READ.
In the archive (two builds of the same driver: use one)
DEVS/virtiorng.device(1.2): loaded fromDEVS:when first opened, unloaded when no longer used. The simplest way in.Kickstart/virtiorng.device(1.1): a Kickstart module, started at boot, with a self-test on the serial output.rngread: checks the device (nine checks: reads, aborts, flushes, recovery after a device reset, an odd-sized read at an odd address).ReadMe: install steps for both builds.
Install
- Add
-device virtio-rng-pcito your QEMU command line (up to four cards; each is a unit). - Disk build:
Copy DEVS/virtiorng.device DEVS:— or the Kickstart build: addKickstart/virtiorng.deviceand aMODULE Kickstart/virtiorng.deviceline to your Kicklayout (see the ReadMe). - Run
rngread.
Tested
QEMU 11.0.50 on the AmigaOne, Pegasos II and Sam460ex machines. These builds on QEMU's AmigaOne: Kickstart 1.1 self-test PASSED and rngread 9/9; disk 1.2 rngread 9/9.
virtio exists only in QEMU: this driver is not for real hardware.
SHA-256 of virtiorng-1.2.lha: 78f080f60c19a7a507fd9ff91847699f188d48d3aeea5bd9fb3c9ba8690f0763