On Fri, 2017-07-21 at 15:15 +0300, Marcel Apfelbaum wrote:
On 21/07/2017 13:04, Gerd Hoffmann wrote:
Hi,
What about window sizes? IIRC there was a plan to provide
allocation
hints for them too ...
Yes, is in my TODO list, however not as part of Aleksandr's
series
which aims to provide PCIe-PCI bridge hotplug support.
I'd prefer to have a single vendor capability for all resource
allocation hints provided by qemu.
[Adding Laszlo]
Sure, the capability looking something like:
[flags: reserve-buses|reserve-IO|reserve-MEM|...]
[extra-buses][IO-size][MEM-size]
if reserve-buses -> use 'extra-buses' value and so on
Do we need the flags? We can use "value == 0 -> no hint for you".