hw/i386: extend pxb query for all PC machines
commit81ed6482a3478685c4fd27d766a92c4e0f8b34d1
authorMarcel Apfelbaum <marcel@redhat.com>
Thu, 26 Nov 2015 16:00:28 +0000 (26 18:00 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 15:45:13 +0000 (22 17:45 +0200)
tree00de29a82d3c77798eb7202ba2c3457282ec1a72
parent02b07434bed8360715198b4cbfdfebd17f7cac32
hw/i386: extend pxb query for all PC machines

Add bus property to PC machines and use it when looking
for primary PCI root bus (bus 0).

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/acpi-build.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h