On 28 August 2014 22:21, Michael Roth <mdr...@linux.vnet.ibm.com> wrote: > But I guess there's still a separate issue, where there's a high liklihood > that > a 0 address would conflict with some hard-wired IO address? Wouldn't this be a > guest bug though?
Even if it's a guest bug, we should act like the hardware does if the guest does this. If that differs between PCI controllers then we need a flag so the host controller model can select the required behaviour. (The versatile PB PCI controller we model does have "address 0 is valid", and we'd need to have this working if we implemented DMA accesses properly.) -- PMM