diff options
author | Yi Min Zhao <zyimin@linux.vnet.ibm.com> | 2016-06-19 19:20:46 +0800 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-07-11 09:48:05 +0200 |
commit | f7c40aa1e7feb50bc4d4bc171fa811bdd9a93e51 (patch) | |
tree | 40df3ca5f514ded25a90bb5709d01fa6ea129812 /target-i386 | |
parent | b804e8a62a25b82637b19aea68ab7d5a7a1ce0fb (diff) | |
download | qemu-f7c40aa1e7feb50bc4d4bc171fa811bdd9a93e51.tar.gz qemu-f7c40aa1e7feb50bc4d4bc171fa811bdd9a93e51.tar.bz2 qemu-f7c40aa1e7feb50bc4d4bc171fa811bdd9a93e51.zip |
s390x/pci: fix failures of dma map/unmap
In commit d78c19b5cf4821d0c198f4132a085bdbf19dda4c, vfio code stores
the IOMMU's offset_within_address_space and adjusts the IOVA before
calling vfio_dma_map/vfio_dma_unmap. But s390_translate_iommu already
considers the base address of an IOMMU memory region.
Thus we use pal as the size and 0x0 as the base address to initialize
IOMMU memory subregion.
Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-i386')
0 files changed, 0 insertions, 0 deletions