VirtIO ring descriptors. More...
#include <virtio_ring.h>
Data Fields | |
| uint64_t | addr |
| Address (guest-physical) More... | |
| uint32_t | len |
| Length. More... | |
| uint16_t | flags |
| Flags relevant to the descriptors. More... | |
| uint16_t | next |
| We chain unused descriptors via this, too. More... | |
VirtIO ring descriptors.
The descriptor table refers to the buffers the driver is using for the device. addr is a physical address, and the buffers can be chained via next. Each descriptor describes a buffer which is read-only for the device (“device-readable”) or write-only for the device (“device-writable”), but a chain of descriptors can contain both device-readable and device-writable buffers.
| uint64_t vring_desc::addr |
Address (guest-physical)
| uint16_t vring_desc::flags |
Flags relevant to the descriptors.
| uint32_t vring_desc::len |
Length.
| uint16_t vring_desc::next |
We chain unused descriptors via this, too.