mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The virtio spec allows a chain of writable descriptors however the rng device was assuming just a single writable descriptor. Instead fill in all writable descriptors. There is no status byte (unlike e.g. block) and instead 0 bytes used is used to indicate error. Signed-off-by: Rob Bradford <rbradford@meta.com>