pci: fix pci bridge fw path
commit4c41425d2e79f267b2236da31abedb866777d92f
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 6 Dec 2013 11:24:40 +0000 (6 12:24 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Dec 2013 18:11:08 +0000 (11 20:11 +0200)
tree949812f3e3a9f4924e750336c34e60a8b28f99ed
parent6b9b4405743ffd428f35247516de9e6f4240f73f
pci: fix pci bridge fw path

qemu uses "pci" as name for pci bridges in the firmware device path.
seabios expects "pci-bridge".  Result is that bootorder is broken for
devices behind pci bridges.

Some googling suggests that "pci-bridge" is the correct one.  At least
PPC-based Apple machines are using this.  See question "How do I boot
from a device attached to a PCI card" here:
http://www.netbsd.org/ports/macppc/faq.html

So lets change qemu to use "pci-bridge" too.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c