Peter Xu b9313021f3 intel_iommu: cleanup vtd_{do_}iommu_translate()
First, let vtd_do_iommu_translate() return a status, so that we
explicitly knows whether error occured. Meanwhile, we make sure that
IOMMUTLBEntry is filled in in that.

Then, cleanup vtd_iommu_translate a bit. So even with PT we'll get a log
now. Also, remove useless assignments.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-06-16 18:44:55 +03:00
..
2017-06-02 11:33:53 +04:00
2017-06-05 10:09:14 +01:00
2017-06-06 10:00:34 +01:00
2017-06-02 05:54:43 +01:00
2017-06-02 14:07:53 +01:00
2017-06-06 20:18:35 +02:00
2017-06-13 13:51:29 +01:00
2017-06-13 13:51:29 +01:00
2017-06-05 10:09:14 +01:00
2017-06-04 18:42:55 +03:00
2017-05-30 14:15:04 +01:00
2017-06-05 10:09:14 +01:00