vio_description
Information describing the VIRTIO device being created
Synopsis:
#include <qvm/vio.h>struct vio_description {
uint16_t device_type;
uint16_t vendor_id;
unsigned pci_class;
unsigned num_queues;
unsigned device_config_size;
uint32_t device_features[VIO_MAX_FEATURE_WORDS];
};Data:
- uint16_t device_type
- The type of device: VIRTIO_DT_* (see virtio.h in the default includes directory).
- uint16_t vendor_id
- The subsystem vendor ID; the default is the BlackBerry QNX vendor ID (0x1C05).
- unsigned pci_class
When using PCI transport, the class and subclass value for the device (see qvm/hw_pci.h).
- unsigned num_queues
- The maximum number of virtqueues for the device.
- unsigned device_config_size
- The number of bytes of device-specific configuration data.
- uint32_t device_features[VIO_MAX_FEATURE_WORDS]
- The device feature bits to be offered to the guest driver.
Page updated:
