pci: Move pcibus_dev_print() to pci-hmp-cmds.c
commit0bcaaff8d80fd00537bb7963a9baeedb68ec2ad4
authorMarkus Armbruster <armbru@redhat.com>
Thu, 1 Dec 2022 12:11:27 +0000 (1 13:11 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 19 Dec 2022 15:21:56 +0000 (19 16:21 +0100)
tree622c9e26daf8f3a318bdbfa6a8627811b41c605a
parentef21900951bb2f5510ce4b238f167e93ca2a11fd
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>
hw/pci/pci-hmp-cmds.c
hw/pci/pci-internal.h
hw/pci/pci.c