On 10/11/2012 03:42 PM, Paolo Bonzini wrote:
> Il 11/10/2012 15:26, Avi Kivity ha scritto:
>> +struct MemoryRegionIOMMUOps {
>> +    /* Returns a TLB entry that contains a given address. */
>> +    IOMMUTLBEntry (*translate)(MemoryRegion *iommu, target_phys_addr_t addr,
>> +                               bool is_write);
>> +};
> 
> Do map/unmap still make sense in this model?  Ben & David, what were
> your plans there?
> 

Map/unmap is supported via address_space_map(), which calls
->translate().  I don't see how a lower-level map/unmap helps, unless
the hardware supplies such a function.

-- 
error compiling committee.c: too many arguments to function

Reply via email to