]> git.proxmox.com Git - mirror_qemu.git/commit
vfio: Check that IOMMU MR translates to system address space
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 26 May 2016 15:43:23 +0000 (09:43 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 26 May 2016 17:12:09 +0000 (11:12 -0600)
commitf1f9365019bb257af087b454972c396bb0d53b26
treee02a27eb786f558f39d0d2e09a4f35ed95f9c56b
parentd78c19b5cf4821d0c198f4132a085bdbf19dda4c
vfio: Check that IOMMU MR translates to system address space

At the moment IOMMU MR only translate to the system memory.
However if some new code changes this, we will need clear indication why
it is not working so here is the check.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/common.c