On Fri, 2017-07-21 at 13:28 -0400, Kevin O'Connor wrote:
On Fri, Jul 21, 2017 at 03:15:46PM +0300, Marcel Apfelbaum wrote:
On 21/07/2017 13:04, Gerd Hoffmann wrote:
I'd prefer to have a single vendor capability for all resource allocation hints provided by qemu.
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
I don't have any objection to using a PCI capability, but I do wonder if fw_cfg would be a better fit. This information is purely qemu -> firmware, right?
fw_cfg quickly becomes messy if you want allow different hints per bridge.
cheers, Gerd