]> git.proxmox.com Git - mirror_qemu.git/commit
Use PCI_HOST_BRIDGE macro
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 5 Aug 2021 19:34:31 +0000 (15:34 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Sep 2021 13:07:46 +0000 (09:07 -0400)
commitb914e741e91ad2b1515dcded57ff5a5e07ec353d
treebec16e5791c673893e4e52ae7dfa05261d6671ff
parent3a83db5df34090d872dc1dccf36064849f8f90eb
Use PCI_HOST_BRIDGE macro

OBJECT_CHECK(PciHostState, ..., TYPE_PCI_HOST_BRIDGE) is exactly
what the PCI_HOST_BRIDGE macro does.  We can just use the macro
instead of using OBJECT_CHECK manually.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20210805193431.307761-7-ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <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
hw/pci-host/i440fx.c