vio_queue_info

Information for one virtqueue on the device (see libhyp/virtq.h)

Synopsis:

#include <qvm/vio.h>
struct vio_queue_info {
    struct virtq* vq;
    struct vio_state* vsp;
    struct virtio_virtq_data data;
    unsigned max_size;
} ;

Data:

struct virtq* vq

A pointer to virtqueue support routine control structure.

struct vio_state* vsp

A backpointer to the VirtIO state for this queue.

struct virtio_virtq_data data

Basic VirtIO data about the queue.

unsigned max_size

Maximum number of entries the device allows in the queue.

Library:

Provided by qvm; no external library is required.