Structure definition for virtio devices for use by the applications/drivers. More...
#include <virtio.h>
Data Fields | |
| uint32_t | notifyid |
| Unique position on the virtio bus. More... | |
| struct virtio_device_id | id |
| The device type identification used to match it with a driver. More... | |
| uint64_t | features |
| The features supported by both ends. More... | |
| unsigned int | role |
| If it is virtio backend or front end. More... | |
| virtio_dev_reset_cb | reset_cb |
| User-registered device callback. More... | |
| const struct virtio_dispatch * | func |
| Virtio dispatch table. More... | |
| const struct virtio_memory_ops * | mmops |
| void * | priv |
| Private data. More... | |
| unsigned int | vrings_num |
| Number of vrings. More... | |
| struct virtio_vring_info * | vrings_info |
| Pointer to the virtio vring structure. More... | |
Structure definition for virtio devices for use by the applications/drivers.
| uint64_t virtio_device::features |
The features supported by both ends.
| const struct virtio_dispatch* virtio_device::func |
Virtio dispatch table.
Virtio device memory operations
| struct virtio_device_id virtio_device::id |
The device type identification used to match it with a driver.
| const struct virtio_memory_ops* virtio_device::mmops |
| uint32_t virtio_device::notifyid |
Unique position on the virtio bus.
| void* virtio_device::priv |
Private data.
| virtio_dev_reset_cb virtio_device::reset_cb |
User-registered device callback.
| unsigned int virtio_device::role |
If it is virtio backend or front end.
| struct virtio_vring_info* virtio_device::vrings_info |
Pointer to the virtio vring structure.
| unsigned int virtio_device::vrings_num |
Number of vrings.