Re: [Qemu-devel] [PATCH 3/8] libqos: Move BAR assignment to common code

2016-10-18 Thread David Gibson
On Tue, Oct 18, 2016 at 05:00:08PM +0200, Laurent Vivier wrote: > > > On 18/10/2016 12:52, David Gibson wrote: > > The PCI backends in libqos each supply an iomap() and iounmap() function > > which is used to set up a specified PCI BAR. But PCI BAR allocation takes > > place entirely within PCI

Re: [Qemu-devel] [PATCH 3/8] libqos: Move BAR assignment to common code

2016-10-18 Thread Laurent Vivier
On 18/10/2016 12:52, David Gibson wrote: > The PCI backends in libqos each supply an iomap() and iounmap() function > which is used to set up a specified PCI BAR. But PCI BAR allocation takes > place entirely within PCI space, so doesn't really need per-backend > versions. For example, Linux in

[Qemu-devel] [PATCH 3/8] libqos: Move BAR assignment to common code

2016-10-18 Thread David Gibson
The PCI backends in libqos each supply an iomap() and iounmap() function which is used to set up a specified PCI BAR. But PCI BAR allocation takes place entirely within PCI space, so doesn't really need per-backend versions. For example, Linux includes generic BAR allocation code used on platform