vfio/type1: implement interfaces to update vaddr
authorSteve Sistare <steven.sistare@oracle.com>
Fri, 29 Jan 2021 16:54:09 +0000 (08:54 -0800)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 1 Feb 2021 20:20:07 +0000 (13:20 -0700)
commitc3cbab24db3860d68924d8a3f752a97d3cca1623
treec18de4fc1b01e1a36142f4ffbd1b75e7ec2e57e4
parent40ae9b807b89e60f86a40f33b931e6cde7eed2b7
vfio/type1: implement interfaces to update vaddr

Implement VFIO_DMA_UNMAP_FLAG_VADDR, VFIO_DMA_MAP_FLAG_VADDR, and
VFIO_UPDATE_VADDR.  This is a partial implementation.  Blocking is
added in a subsequent patch.

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>
drivers/vfio/vfio_iommu_type1.c