summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDavid Gibson2019-05-13 08:19:39 +0200
committerMichael S. Tsirkin2019-05-30 00:00:57 +0200
commit2ad778b8c2175cb16f731d1e789e151a691172ce (patch)
treef96b6738a88d02849f448c6857da716c7d2b3d7a /python
parentpci: Make is_bridge a bool (diff)
downloadqemu-2ad778b8c2175cb16f731d1e789e151a691172ce.tar.gz
qemu-2ad778b8c2175cb16f731d1e789e151a691172ce.tar.xz
qemu-2ad778b8c2175cb16f731d1e789e151a691172ce.zip
pci: Fold pci_get_bus_devfn() into its sole caller
The only remaining caller of pci_get_bus_devfn() is pci_nic_init_nofail(), itself an old compatibility function. Fold the two together to avoid re-using the stale interface. While we're there replace the explicit fprintf()s with error_report(). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Message-Id: <20190513061939.3464-6-david@gibson.dropbear.id.au> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions