vfio: option to unmap all
authorSteve Sistare <steven.sistare@oracle.com>
Fri, 29 Jan 2021 16:54:04 +0000 (08:54 -0800)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 1 Feb 2021 20:20:05 +0000 (13:20 -0700)
commitc98fe7c2a2038af2bc24f039ccdb5a65c22ba11a
tree95fd22f9cbefefb0f23b92107ee52ec5c0829f20
parent1048ba83fb1c00cd24172e23e8263972f6b5d9ac
vfio: option to unmap all

For the UNMAP_DMA ioctl, delete all mappings if VFIO_DMA_UNMAP_FLAG_ALL
is set.  Define the corresponding VFIO_UNMAP_ALL extension.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
include/uapi/linux/vfio.h