On Wed, 14 Jul 2010, Eduard - Gabriel Munteanu wrote: > This provides an API for abstracting IOMMU functions. Hardware emulation > code can use it to request address translation and access checking. In > the absence of an emulated IOMMU, no translation/checking happens and > I/O goes through as before. > > IOMMU emulation code must provide implementation-specific hooks for this > layer. > [..snip..] > +int __iommu_rw(struct iommu *iommu, > + DeviceState *dev, > + target_phys_addr_t addr, > + uint8_t *buf, > + int len, > + int is_write) Do not use leading double underscore. [..snip..] -- mailto:av1474@xxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html