diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2022-11-22 09:10:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 09:10:27 +0000 |
commit | 14c0bc58e7278271ba22e6d31480da550db69a0c (patch) | |
tree | 3c71a37a030e0ece5dfa81f92041d6327032f53a /include/vfio-user.h | |
parent | b975ee6e184884b63c654d2414f013c645c8a92e (diff) | |
download | libvfio-user-14c0bc58e7278271ba22e6d31480da550db69a0c.zip libvfio-user-14c0bc58e7278271ba22e6d31480da550db69a0c.tar.gz libvfio-user-14c0bc58e7278271ba22e6d31480da550db69a0c.tar.bz2 |
allow shadow memory offset per shadow ioeventfd (#703)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'include/vfio-user.h')
-rw-r--r-- | include/vfio-user.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vfio-user.h b/include/vfio-user.h index dc6fafa..52f0870 100644 --- a/include/vfio-user.h +++ b/include/vfio-user.h @@ -171,12 +171,13 @@ typedef struct vfio_user_region_io_fds_request { #define VFIO_USER_IO_FD_TYPE_IOEVENTFD_SHADOW 2 typedef struct vfio_user_sub_region_ioeventfd { - uint64_t offset; + uint64_t gpa_offset; uint64_t size; uint32_t fd_index; uint32_t type; uint32_t flags; - uint32_t padding; + uint32_t shadow_mem_fd_index; + uint64_t shadow_offset; uint64_t datamatch; } __attribute__((packed)) vfio_user_sub_region_ioeventfd_t; |