diff options
author | Markus Armbruster <armbru@redhat.com> | 2022-12-01 13:11:22 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2022-12-19 16:15:17 +0100 |
commit | 987b73b38930842a17b1f102b81881ca3086d3e5 (patch) | |
tree | 6f24219d85b73a04303ad0fc8cedcfd72145e23d /hw/pci/pci-internal.h | |
parent | 5da4ccd9d4222378b19a135661409d4585165fde (diff) |
pci: Move QMP commands to new hw/pci/pci-qmp-cmds.c
This moves these commands from MAINTAINERS section "QMP" to "PCI".
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221201121133.3813857-3-armbru@redhat.com>
[Commit message improved]
Diffstat (limited to 'hw/pci/pci-internal.h')
-rw-r--r-- | hw/pci/pci-internal.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hw/pci/pci-internal.h b/hw/pci/pci-internal.h new file mode 100644 index 0000000000..4903a26cbf --- /dev/null +++ b/hw/pci/pci-internal.h @@ -0,0 +1,20 @@ +#ifndef HW_PCI_PCI_INTERNAL_H +#define HW_PCI_PCI_INTERNAL_H + +#include "qemu/queue.h" + +typedef struct { + uint16_t class; + const char *desc; + const char *fw_name; + uint16_t fw_ign_bits; +} pci_class_desc; + +typedef QLIST_HEAD(, PCIHostState) PCIHostStateList; + +extern PCIHostStateList pci_host_bridges; + +const pci_class_desc *get_class_desc(int class); +PCIBus *pci_find_bus_nr(PCIBus *bus, int bus_num); + +#endif |