]> git.proxmox.com Git - mirror_qemu.git/commit
acpi: enumerate SMB bridge automatically along with other PCI devices
authorIgor Mammedov <imammedo@redhat.com>
Mon, 17 Oct 2022 10:21:42 +0000 (12:21 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Nov 2022 19:08:17 +0000 (14:08 -0500)
commit6d2146147b4e21017313de0f1fc7972ce6a7a7c6
treeae4ceab4452cca30cc037cc9b4f68428fa838417
parent5dbad0af10ff7d4f83db7f4ddd872d85332ebecc
acpi: enumerate SMB bridge automatically along with other PCI devices

to make that happen (bridge sits at _ADR: 0x001F0003),
relax PCI enumeration logic to include devices with *function* > 0
if device has something to say about itself (i.e. has build_dev_aml
callback set).

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20221017102146.2254096-8-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c