[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 4/7] memory: provide a MemoryRegion for IOMMU
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [PATCH v2 4/7] memory: provide a MemoryRegion for IOMMUs to log faults |
Date: |
Wed, 31 Oct 2012 12:33:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
On 10/30/2012 09:14 PM, Blue Swirl wrote:
> On Tue, Oct 30, 2012 at 11:47 AM, Avi Kivity <address@hidden> wrote:
>> Accesses which do not translate will hit the fault region, which
>> can then log the access.
>
> Maybe special casing the fault region should be avoided, the IOMMU
> could set up suitable fault regions by itself.
How can it? Please elaborate.
I'm not too pleased with using a MemoryRegion for faults, perhaps a
MemoryRegionIOMMUOps::fault() callback would be better.
--
error compiling committee.c: too many arguments to function
- [Qemu-devel] [PATCH v2 0/7] IOMMU support, Avi Kivity, 2012/10/30
- [Qemu-devel] [PATCH v2 4/7] memory: provide a MemoryRegion for IOMMUs to log faults, Avi Kivity, 2012/10/30
- [Qemu-devel] [PATCH v2 5/7] pci: use memory core for iommu support, Avi Kivity, 2012/10/30
- [Qemu-devel] [PATCH v2 6/7] vfio: abort if an emulated iommu is used, Avi Kivity, 2012/10/30
- [Qemu-devel] [PATCH v2 7/7] i440fx: add an iommu, Avi Kivity, 2012/10/30