On 10/20/21 11:54, Michael S. Tsirkin wrote: > PCI resource reserve capability should use LE format as all other PCI > things. If we don't then seabios won't boot: > > === PCI new allocation pass #1 === > PCI: check devices > PCI: QEMU resource reserve cap: size 10000000000000 type io > PCI: secondary bus 1 size 10000000000000 type io > PCI: secondary bus 1 size 00200000 type mem > PCI: secondary bus 1 size 00200000 type prefmem > === PCI new allocation pass #2 === > PCI: out of I/O address space > > This became more important since we started reserving IO by default, > previously no one noticed. > > Fixes: e2a6290aab ("hw/pcie-root-port: Fix hotplug for PCI devices requiring > IO") > Cc: marcel.apfelb...@gmail.com > Fixes: 226263fb5c ("hw/pci: add QEMU-specific PCI capability to the Generic > PCI Express Root Port") > Cc: zuban...@gmail.com > Fixes: 6755e618d0 ("hw/pci: add PCI resource reserve capability to legacy PCI > bridge") > Cc: jing2....@linux.intel.com > Tested-by: Thomas Huth <th...@redhat.com> > Signed-off-by: Michael S. Tsirkin <m...@redhat.com> > --- > hw/pci/pci_bridge.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>