qemu-e2k/hw/s390x
Yi Min Zhao f7c40aa1e7 s390x/pci: fix failures of dma map/unmap
In commit d78c19b5cf, 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>
2016-07-11 09:48:05 +02:00
..
ccw-device.c s390x/css: Unplug handler of virtual css bridge 2016-07-11 09:48:05 +02:00
ccw-device.h s390x/css: Unplug handler of virtual css bridge 2016-07-11 09:48:05 +02:00
css-bridge.c s390x/css: Unplug handler of virtual css bridge 2016-07-11 09:48:05 +02:00
css.c s390x/css: factor out some generic code from virtio_ccw_device_realize() 2016-07-11 09:48:05 +02:00
event-facility.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
ipl.c s390x/css: Unplug handler of virtual css bridge 2016-07-11 09:48:05 +02:00
ipl.h s390x/ipl: fix reboots for migration from different bios 2016-07-11 09:48:05 +02:00
Makefile.objs s390x/css: Unplug handler of virtual css bridge 2016-07-11 09:48:05 +02:00
s390-pci-bus.c s390x/pci: fix failures of dma map/unmap 2016-07-11 09:48:05 +02:00
s390-pci-bus.h s390x/pci: remove whitespace 2016-05-17 15:50:29 +02:00
s390-pci-inst.c s390x/pci: enhance mpcifc_service_call 2016-05-17 15:50:29 +02:00
s390-pci-inst.h s390x/pci: enhance mpcifc_service_call 2016-05-17 15:50:29 +02:00
s390-skeys-kvm.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
s390-skeys.c s390: use FILE instead of QEMUFile for creating text file 2016-05-26 11:31:05 +05:30
s390-virtio-ccw.c s390x/css: Factor out virtual css bridge and bus 2016-07-11 09:48:05 +02:00
s390-virtio-hcall.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
s390-virtio.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
s390-virtio.h s390x/cpu: Cleanup init in preparation for hotplug 2016-03-10 10:37:15 +01:00
sclp.c s390x/pci: separate s390_sclp_configure function 2016-05-17 15:50:29 +02:00
sclpcpu.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
sclpquiesce.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
trace-events trace: split out trace events for hw/s390x/ directory 2016-06-20 17:22:16 +01:00
virtio-ccw.c s390x/css: Unplug handler of virtual css bridge 2016-07-11 09:48:05 +02:00
virtio-ccw.h s390x/css: Unplug handler of virtual css bridge 2016-07-11 09:48:05 +02:00