aboutsummaryrefslogtreecommitdiff
path: root/lib/vfio_user.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vfio_user.h')
-rw-r--r--lib/vfio_user.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/vfio_user.h b/lib/vfio_user.h
index e4df3e0..76cd84c 100644
--- a/lib/vfio_user.h
+++ b/lib/vfio_user.h
@@ -78,6 +78,12 @@ struct vfio_user_header {
uint32_t error_no;
} __attribute__((packed));
+struct vfio_user_version {
+ uint16_t major;
+ uint16_t minor;
+ uint8_t data[];
+} __attribute__((packed));
+
struct vfio_user_dma_region {
uint64_t addr;
uint64_t size;