> >> pci_gdma.diff: Convert PCI devices and targets
> >>
> >> Any comments? The patches are a bit intrusive and I can't test the
> >> targets except that they compile.
> >
> > Shouldn't the PCI DMA object be a property of the PCI bus?
> > ie. we don't want/need to pass it round as a separate parameter. It can
> > be inferred form the device/bus.
>
> I agree. Moreover the DMA is bus specific so I don't see a need to add a
> generic DMA layer.

I can see use for a generic DMA interface. It has some nice possibilities for 
devices which can connect via a variety of busses and maybe for layering 
different busses within a system.

However I don't know how well this will work in practice for the machines qemu 
currently emulates.

Paul


Reply via email to