vio_setup_queues()

Get host virtual addresses for the virtqueue rings

Synopsis:

#include <qvm/vio.h>
int vio_setup_queues(struct vio_state *vsp)

Arguments:

vsp
A pointer to the vdev's state structure.

Library:

Provided by qvm; no external library is required.

Description:

This function may be called only after the driver has set the DRIVER_OK status bit (see the VirtIO specifications).