diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/vfio-user.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/vfio-user.h b/include/vfio-user.h index 11eb366..053ead2 100644 --- a/include/vfio-user.h +++ b/include/vfio-user.h @@ -96,6 +96,17 @@ struct vfio_user_version { uint8_t data[]; } __attribute__((packed)); +/* + * Similar to vfio_device_info, but without caps (yet). + */ +struct vfio_user_device_info { + uint32_t argsz; + /* VFIO_DEVICE_FLAGS_* */ + uint32_t flags; + uint32_t num_regions; + uint32_t num_irqs; +} __attribute__((packed)); + struct vfio_user_dma_region { uint64_t addr; uint64_t size; |