mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
a09d2038cc
commit
662b4b69ba
1 changed files with 1 additions and 1 deletions
|
@ -2540,7 +2540,7 @@ static IOMMUTLBEntry vtd_iommu_translate(IOMMUMemoryRegion *iommu, hwaddr addr,
|
|||
__func__, pci_bus_num(vtd_as->bus),
|
||||
VTD_PCI_SLOT(vtd_as->devfn),
|
||||
VTD_PCI_FUNC(vtd_as->devfn),
|
||||
iotlb.iova);
|
||||
addr);
|
||||
}
|
||||
|
||||
return iotlb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue