hw: Use TYPE_PCI_BUS definition where appropriate
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 17 Jan 2023 19:30:14 +0000 (20:30 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 28 Jan 2023 11:21:30 +0000 (06:21 -0500)
commitc45e7619dbe4033dfd525a417edb828af37a892e
tree3267bcff4a93945b808a297a9de4b61302a03bc1
parent920c184fa924da2890a1e9050282d01608291a34
hw: Use TYPE_PCI_BUS definition where appropriate

Use the proper QOM type definition instead of magic string.
This also helps during eventual refactor while using git-grep.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230117193014.83502-1-philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
hw/arm/smmu-common.c
hw/virtio/virtio-iommu.c