vio.h

Definitions for VirtIO vdev

For more information about the VirtIO specification, see OASIS at oasis-open.org.

Function safety

All the functions that vio.h provides are thread safe.

Function When used Thread safe? Notes
vio_append_iov() Running Yes  
vio_config_update() Running Yes  
vio_ctrl_pci_bars() Startup Yes Use only on VDEV_CTRL_PCI_BARS.
vio_device_status() Running Yes  
vio_get_iov() Running Yes  
vio_init() Startup Yes  
vio_init_queue() Startup, running Yes  
vio_iov_set_flags() Running Yes  
vio_prepare_iov() Running Yes  
vio_put_iov() Running Yes  
vio_read() Running Yes Typically used in vread().
vio_reset() Running Yes  
vio_setup_queues() Running Yes  
vio_write() Running Yes Typically used in vwrite().