Re: [Qemu-devel] [PATCH 02/14] pci: add IOMMU support via the generic DMA layer

2011-06-02 Thread Richard Henderson
On 06/02/2011 08:12 AM, David Gibson wrote: > --- a/hw/pci_internals.h > +++ b/hw/pci_internals.h > @@ -14,8 +14,15 @@ > > extern struct BusInfo pci_bus_info; > > +typedef DMAMmu *(*pci_iommu_new_device_fn)(PCIBus *); > + > +struct PCIBusIOMMU { > +pci_iommu_new_device_fn new_device; > +};

[Qemu-devel] [PATCH 02/14] pci: add IOMMU support via the generic DMA layer

2011-06-02 Thread David Gibson
IOMMUs can now be hooked onto the PCI bus. This makes use of the generic DMA layer. Signed-off-by: Eduard - Gabriel Munteanu Signed-off-by: David Gibson --- hw/pci.c |9 + hw/pci.h |5 + hw/pci_internals.h |7 +++ 3 files changed, 21 insertions(+)