]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/xen/xen_native.h
include/hw/pci: Split pci_device.h off pci.h
authorMarkus Armbruster <armbru@redhat.com>
Thu, 22 Dec 2022 10:03:28 +0000 (11:03 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Jan 2023 06:54:22 +0000 (01:54 -0500)
commitedf5ca5dbe8031e7814ea34eb109b8f7d4024ae5
treef14a1a9c8d9b627e3d4b1e53bb5351883cf8f3cc
parent4a96b8cf4934e5d1c9b44f6e9d7730b918d9a464
include/hw/pci: Split pci_device.h off pci.h

PCIDeviceClass and PCIDevice are defined in pci.h.  Many users of the
header don't actually need them.  Similar structs live in their own
headers: PCIBusClass and PCIBus in pci_bus.h, PCIBridge in
pci_bridge.h, PCIHostBridgeClass and PCIHostState in pci_host.h,
PCIExpressHost in pcie_host.h, and PCIERootPortClass, PCIEPort, and
PCIESlot in pcie_port.h.

Move PCIDeviceClass and PCIDeviceClass to new pci_device.h, along with
the code that needs them.  Adjust include directives.

This also enables the next commit.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20221222100330.380143-6-armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
93 files changed:
hw/acpi/erst.c
hw/audio/ac97.c
hw/audio/es1370.c
hw/audio/via-ac97.c
hw/char/serial-pci-multi.c
hw/char/serial-pci.c
hw/core/qdev-properties-system.c
hw/display/ati_int.h
hw/display/bochs-display.c
hw/display/cirrus_vga.c
hw/display/qxl.h
hw/display/sm501.c
hw/display/vga-pci.c
hw/display/vmware_vga.c
hw/i386/xen/xen_pvdevice.c
hw/ide/ahci_internal.h
hw/ipack/tpci200.c
hw/ipmi/pci_ipmi_bt.c
hw/ipmi/pci_ipmi_kcs.c
hw/isa/i82378.c
hw/mips/gt64xxx_pci.c
hw/misc/pci-testdev.c
hw/misc/pvpanic-pci.c
hw/net/can/can_kvaser_pci.c
hw/net/can/can_mioe3680_pci.c
hw/net/can/can_pcm3680_pci.c
hw/net/can/ctucan_pci.c
hw/net/e1000.c
hw/net/e1000x_common.c
hw/net/eepro100.c
hw/net/ne2000-pci.c
hw/net/net_tx_pkt.c
hw/net/pcnet-pci.c
hw/net/rocker/rocker.c
hw/net/rocker/rocker_desc.c
hw/net/rtl8139.c
hw/net/sungem.c
hw/net/sunhme.c
hw/net/tulip.c
hw/net/virtio-net.c
hw/net/vmxnet3_defs.h
hw/nvme/nvme.h
hw/pci-host/bonito.c
hw/pci-host/dino.c
hw/pci-host/grackle.c
hw/pci-host/mv64361.c
hw/pci-host/ppce500.c
hw/pci-host/raven.c
hw/pci-host/sh_pci.c
hw/pci-host/uninorth.c
hw/pci-host/versatile.c
hw/pci/pci-hmp-cmds.c
hw/pci/pcie_host.c
hw/pci/pcie_sriov.c
hw/pci/slotid_cap.c
hw/ppc/ppc440_pcix.c
hw/ppc/ppc4xx_pci.c
hw/ppc/spapr_pci_vfio.c
hw/rdma/rdma_utils.c
hw/rdma/vmw/pvrdma.h
hw/s390x/s390-pci-inst.c
hw/scsi/esp-pci.c
hw/scsi/lsi53c895a.c
hw/scsi/mptsas.h
hw/smbios/smbios.c
hw/usb/hcd-ehci.h
hw/usb/hcd-ohci-pci.c
hw/usb/hcd-uhci.h
hw/usb/hcd-xhci-pci.h
hw/vfio/pci.h
hw/watchdog/wdt_i6300esb.c
include/hw/acpi/piix4.h
include/hw/arm/allwinner-a10.h
include/hw/cxl/cxl_device.h
include/hw/ide/pci.h
include/hw/misc/macio/macio.h
include/hw/pci-host/gpex.h
include/hw/pci-host/i440fx.h
include/hw/pci-host/q35.h
include/hw/pci-host/sabre.h
include/hw/pci/msi.h
include/hw/pci/pci.h
include/hw/pci/pci_bridge.h
include/hw/pci/pci_device.h [new file with mode: 0644]
include/hw/pci/pcie_port.h
include/hw/pci/shpc.h
include/hw/remote/iohub.h
include/hw/remote/proxy.h
include/hw/sd/sdhci.h
include/hw/southbridge/piix.h
include/hw/xen/xen_common.h
tests/qtest/fuzz/generic_fuzz.c
ui/util.c