OSDN Git Service

vfio/type1: block on invalid vaddr
authorSteve Sistare <steven.sistare@oracle.com>
Fri, 29 Jan 2021 16:54:12 +0000 (08:54 -0800)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 1 Feb 2021 20:20:07 +0000 (13:20 -0700)
commit898b9eaeb3fe5eb1ac510f2c4775c8277206752c
treef2fb682c25dd26fff0289adc2a9601d98c08dd6d
parent487ace1340536ea9b8daf8c783a397a467fe55fc
vfio/type1: block on invalid vaddr

Block translation of host virtual address while an iova range has an
invalid vaddr.

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