Il 01/05/2013 07:06, David Gibson ha scritto:
>>> + +/* FIXME: inherit memory region from bus creator */ +
>>> memory_region_init_alias(mr, "iommu-nop", get_system_memory(),
>>> 0, INT64_MAX); +return mr;
> I don't see the reason for creating a new alias for each PCI
> device. Can't pci_dev
> From: Avi Kivity
>
> Use the new iommu support in the memory core for iommu support. The only
> user, spapr, is also converted, but it still provides a DMAContext
> interface until the non-PCI bits switch to AddressSpace.
>
> Signed-off-by: Avi Kivity
> Signed-off-by: Paolo Bonzini
> ---
>