Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
vfio_region_info Struct Reference

#include <vfio.h>

Data Fields

__u32 argsz
 
__u32 flags
 
__u32 index
 
__u32 resv
 
__u64 size
 
__u64 offset
 

Detailed Description

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.

Definition at line 167 of file vfio.h.

Field Documentation

__u32 argsz

Definition at line 168 of file vfio.h.

__u32 flags

Definition at line 169 of file vfio.h.

__u32 index

Definition at line 173 of file vfio.h.

Definition at line 176 of file vfio.h.

__u32 resv

Definition at line 174 of file vfio.h.

__u64 size

Definition at line 175 of file vfio.h.


The documentation for this struct was generated from the following file: