[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [RFC v4 16/16] hw/vfio/common: Do not print error when viommu
From: |
Eric Auger |
Subject: |
[Qemu-arm] [RFC v4 16/16] hw/vfio/common: Do not print error when viommu translates into an mmio region |
Date: |
Tue, 19 Sep 2017 09:46:48 +0200 |
On ARM, the MSI doorbell is translated by the virtual IOMMU.
As such address_space_translate() returns the MSI controller
MMIO region and we get an "iommu map to non memory area"
message. Let's remove this latter.
Signed-off-by: Eric Auger <address@hidden>
---
hw/vfio/common.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/hw/vfio/common.c b/hw/vfio/common.c
index 468a259..fb6f397 100644
--- a/hw/vfio/common.c
+++ b/hw/vfio/common.c
@@ -326,8 +326,6 @@ static bool vfio_get_vaddr(IOMMUTLBEntry *iotlb, void
**vaddr,
iotlb->translated_addr,
&xlat, &len, writable);
if (!memory_region_is_ram(mr)) {
- error_report("iommu map to non memory area %"HWADDR_PRIx"",
- xlat);
return false;
}
--
2.5.5
- [Qemu-arm] [RFC v4 10/16] virtio-iommu: Implement probe request, (continued)
- [Qemu-arm] [RFC v4 11/16] hw/arm/virt: Add 2.11 machine type, Eric Auger, 2017/09/19
- [Qemu-arm] [RFC v4 12/16] hw/arm/virt: Add virtio-iommu to the virt board, Eric Auger, 2017/09/19
- [Qemu-arm] [RFC v4 13/16] memory.h: Add set_page_size_mask IOMMUMemoryRegion callback, Eric Auger, 2017/09/19
- [Qemu-arm] [RFC v4 15/16] virtio-iommu: Implement set_page_size_mask, Eric Auger, 2017/09/19
- [Qemu-arm] [RFC v4 14/16] hw/vfio/common: Set the IOMMUMemoryRegion supported page sizes, Eric Auger, 2017/09/19
- [Qemu-arm] [RFC v4 16/16] hw/vfio/common: Do not print error when viommu translates into an mmio region,
Eric Auger <=
- Re: [Qemu-arm] [RFC v4 00/16] VIRTIO-IOMMU device, Tomasz Nowicki, 2017/09/27