[Qemu-devel] Re: [PATCH v2 2/2] pciinit: use pci_region functions.

2010-10-28 Thread Isaku Yamahata
On Thu, Oct 28, 2010 at 08:33:55AM +0200, Michael S. Tsirkin wrote: > As a sepaate note, BIOS currently seems to allocate regions > in-order, correct? Yes. > A classical trick is to allocate regions behind each bridge in the > reverse order of their size. This avoids holes due to alignment. Thi

[Qemu-devel] Re: [PATCH v2 2/2] pciinit: use pci_region functions.

2010-10-27 Thread Michael S. Tsirkin
As a sepaate note, BIOS currently seems to allocate regions in-order, correct? A classical trick is to allocate regions behind each bridge in the reverse order of their size. This avoids holes due to alignment. -- MST