qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]