diff options
author | John Levon <john.levon@nutanix.com> | 2021-05-04 16:22:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 16:22:31 +0100 |
commit | f87e78fcf904688846c9d4490397f3bdf07d424f (patch) | |
tree | ba77308e16bacbfc228c12800500dcbbab143761 /lib/libvfio-user.c | |
parent | 1b8f3e66037b3cb59fec6c0fe778c8b3734b7093 (diff) | |
download | libvfio-user-f87e78fcf904688846c9d4490397f3bdf07d424f.zip libvfio-user-f87e78fcf904688846c9d4490397f3bdf07d424f.tar.gz libvfio-user-f87e78fcf904688846c9d4490397f3bdf07d424f.tar.bz2 |
stop using struct vfio_device_info (#456)
This struct from vfio.h has grown larger in newer Linux versions; this breaks
older clients, as now the server would require the larger size. Replace with our
own definition.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/libvfio-user.c')
-rw-r--r-- | lib/libvfio-user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libvfio-user.c b/lib/libvfio-user.c index 8a80dfc..817d9e9 100644 --- a/lib/libvfio-user.c +++ b/lib/libvfio-user.c @@ -347,8 +347,8 @@ handle_region_access(vfu_ctx_t *vfu_ctx, vfu_msg_t *msg) int handle_device_get_info(vfu_ctx_t *vfu_ctx, vfu_msg_t *msg) { - struct vfio_device_info *in_info; - struct vfio_device_info *out_info; + struct vfio_user_device_info *in_info; + struct vfio_user_device_info *out_info; assert(vfu_ctx != NULL); assert(msg != NULL); |