include/hw/pci: Break inclusion loop pci_bridge.h and cxl.h
commit674b0a5784a5c0fc5d954b9f42fc1eb1a9648bf0
authorMarkus Armbruster <armbru@redhat.com>
Thu, 22 Dec 2022 10:03:24 +0000 (22 11:03 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Jan 2023 06:54:22 +0000 (8 01:54 -0500)
treead8fac09c39f38e9f4a57c5bc664a548357379c9
parent9d94c21363537903a594a3f44d2cf7fa7d4b2ea7
include/hw/pci: Break inclusion loop pci_bridge.h and cxl.h

hw/pci/pci_bridge.h and hw/cxl/cxl.h include each other.

Fortunately, breaking the loop is merely a matter of deleting
unnecessary includes from headers, and adding them back in places
where they are now missing.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20221222100330.380143-2-armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
26 files changed:
hw/alpha/alpha_sys.h
hw/alpha/pci.c
hw/alpha/typhoon.c
hw/i386/acpi-build.c
hw/pci-bridge/i82801b11.c
hw/rdma/rdma_utils.c
hw/rdma/rdma_utils.h
hw/rdma/vmw/pvrdma.h
hw/scsi/virtio-scsi.c
hw/usb/hcd-ehci.h
hw/xen/xen_pt.h
include/hw/cxl/cxl.h
include/hw/cxl/cxl_cdat.h
include/hw/cxl/cxl_device.h
include/hw/cxl/cxl_pci.h
include/hw/i386/ich9.h
include/hw/i386/x86-iommu.h
include/hw/isa/vt82c686.h
include/hw/pci-host/designware.h
include/hw/pci-host/i440fx.h
include/hw/pci-host/ls7a.h
include/hw/pci-host/pnv_phb3.h
include/hw/pci-host/pnv_phb4.h
include/hw/pci-host/xilinx-pcie.h
include/hw/pci/pcie.h
include/hw/virtio/virtio-scsi.h