Expand description
§VirtIO RNG (Random Number Generator) Device Driver
This module provides a driver for VirtIO entropy source devices (virtio-rng), acting as an entropy source for the kernel’s random number generation subsystem.
The driver integrates with the kernel’s RNG manager to provide cryptographically secure random numbers from the host’s entropy source.
§Features
- VirtIO RNG device driver with virtqueue management
- Entropy source integration with kernel RNG subsystem
- Internal buffering for efficient random number requests
§Implementation Details
The driver uses a single virtqueue (requestq) for receiving random data from the host. Random bytes are fetched in batches and buffered internally to minimize virtqueue operations when requests are made.
Structs§
- Virtio
RngDevice - VirtIO RNG Device