src/devices/src/virtio/ — MMIO bus, transport layer, queue mechanics, and device drivers
Guest-allocated array of descriptors (addr, len, flags, next)
Guest writes head descriptor indices here to submit requests
Host writes completed descriptor indices + byte count here
Descriptors can be chained (NEXT flag) for scatter-gather I/O. WRITE flag marks host-writable descriptors (response buffers). The host uses DescriptorChain / DescIter queue.rs:197 to walk chains and distinguish readable from writable descriptors.
Provides a virtual disk backed by a host file or block device. The guest sees it as /dev/vda, vdb, …
Ethernet device bridging guest and host networking.
Guest↔host socket communication with transparent impersonation (TSI). See the Vsock page for deep-dive.
3D-accelerated GPU using the virgl protocol and shared memory for framebuffers.
Multiplexed serial console with multiple ports. Maps guest stdout/stderr/stdin to host file descriptors.
Seeds the guest kernel's CSPRNG from the host's /dev/urandom. Essential for fast guest boot (avoids entropy starvation).