Adrian Moreno fbda9f1459 vhost: translate incoming log address to GPA
When IOMMU is enabled the incoming log address is in IOVA space. In that
case, look in IOTLB table and translate the resulting HVA to GPA.

If IOMMU is not enabled, the incoming log address is already a GPA so no
transformation is needed.

Fixes: 69c90e98f483 ("vhost: enable IOMMU support")
Cc: stable@dpdk.org

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-10-23 16:43:09 +02:00
..
2019-07-05 15:28:14 +02:00
2019-07-19 00:48:43 +02:00
2019-07-06 10:32:34 +02:00
2019-10-24 02:45:40 +02:00
2019-07-04 23:44:58 +02:00
2019-07-19 00:47:50 +02:00