diff options
| author | Markus Armbruster <armbru@redhat.com> | 2022-12-01 13:11:27 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2022-12-19 16:21:56 +0100 |
| commit | 0bcaaff8d80fd00537bb7963a9baeedb68ec2ad4 (patch) | |
| tree | 622c9e26daf8f3a318bdbfa6a8627811b41c605a /hw/pci/pci-internal.h | |
| parent | ef21900951bb2f5510ce4b238f167e93ca2a11fd (diff) | |
| download | focaccia-qemu-0bcaaff8d80fd00537bb7963a9baeedb68ec2ad4.tar.gz focaccia-qemu-0bcaaff8d80fd00537bb7963a9baeedb68ec2ad4.zip | |
pci: Move pcibus_dev_print() to pci-hmp-cmds.c
This method is for HMP command "info qtree". Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20221201121133.3813857-8-armbru@redhat.com>
Diffstat (limited to 'hw/pci/pci-internal.h')
| -rw-r--r-- | hw/pci/pci-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci/pci-internal.h b/hw/pci/pci-internal.h index 4903a26cbf..3199615e50 100644 --- a/hw/pci/pci-internal.h +++ b/hw/pci/pci-internal.h @@ -16,5 +16,6 @@ extern PCIHostStateList pci_host_bridges; const pci_class_desc *get_class_desc(int class); PCIBus *pci_find_bus_nr(PCIBus *bus, int bus_num); +void pcibus_dev_print(Monitor *mon, DeviceState *dev, int indent); #endif |