Linux Kernel
3.7.1
|
#include <vfio.h>
Data Fields | |
__u32 | argsz |
__u32 | flags |
__u32 | index |
__u32 | resv |
__u64 | size |
__u64 | offset |
VFIO_DEVICE_GET_REGION_INFO - _IOWR(VFIO_TYPE, VFIO_BASE + 8, struct vfio_region_info)
Retrieve information about a device region. Caller provides struct vfio_region_info with index value set. Caller sets argsz. Implementation of region mapping is bus driver specific. This is intended to describe MMIO, I/O port, as well as bus specific regions (ex. PCI config space). Zero sized regions may be used to describe unimplemented regions (ex. unimplemented PCI BARs). Return: 0 on success, -errno on failure.