On 9 September 2013 13:59, Michael S. Tsirkin <m...@redhat.com> wrote: > On Mon, Sep 09, 2013 at 01:52:11PM +0100, Peter Maydell wrote: >> It would be conceptually nicer not to treat host bridges as >> a special case but instead to just report the abort back >> to whatever the PCI master was (which might be a device >> doing DMA). That might be a lot of effort though.
> Yes. As a shortcut, what I suggest is registering the > device that wants to be notified of master aborts with > the bus. Can you just pick the device which is (a subclass of) TYPE_PCI_HOST_BRIDGE, or do we have host bridges which aren't using that class? -- PMM