diff options
author | John Levon <john.levon@nutanix.com> | 2020-11-25 16:39:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 16:39:41 +0000 |
commit | 48c55b26a05ab8d4bf7afdfed98bd8a71142848f (patch) | |
tree | 071c1766d0816577fa0c948cfb0bba84c7057855 /lib/private.h | |
parent | 384c1c80d4ddc397684704c85441183bfecd5d13 (diff) | |
download | libvfio-user-48c55b26a05ab8d4bf7afdfed98bd8a71142848f.zip libvfio-user-48c55b26a05ab8d4bf7afdfed98bd8a71142848f.tar.gz libvfio-user-48c55b26a05ab8d4bf7afdfed98bd8a71142848f.tar.bz2 |
handle_dma_map_or_unmap(): correct fd handling (#118)
We shouldn't consume fd's for regions lacking VFIO_USER_F_DMA_REGION_MAPPABLE.
In addition, we'll ignore such a region (this is a temporary hack).
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'lib/private.h')
0 files changed, 0 insertions, 0 deletions