intel_iommu: dump correct iova when failed
authorPeter Xu <peterx@redhat.com>
Mon, 17 Dec 2018 07:31:10 +0000 (15:31 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 19 Dec 2018 21:48:16 +0000 (16:48 -0500)
commit662b4b69bac99a5cf5f71f2bba7b688d7608250b
tree880914e1b665fc0a2545ea13dc99e89bc6231b86
parenta09d2038cc5f8e45e2126461e5fb1eb9f4874be3
intel_iommu: dump correct iova when failed

The iotlb.iova can be zero if failure really happened.  Dump the addr
instead.

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>
hw/i386/intel_iommu.c