aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2019-04-05 15:51:00 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2019-06-12 10:41:49 +1000
commita1ec25b287dd64bdb782061168f8e34552102d48 (patch)
treee1a292a55c5f1a744bd327002f411f187397f37e /contrib
parent9e7d38e8a304c1b5a03334f3f41cbe157da6b2ad (diff)
downloadqemu-a1ec25b287dd64bdb782061168f8e34552102d48.zip
qemu-a1ec25b287dd64bdb782061168f8e34552102d48.tar.gz
qemu-a1ec25b287dd64bdb782061168f8e34552102d48.tar.bz2
spapr: Clean up DRC index construction
spapr_pci.c currently has several confusingly similarly named functions for various conversions between representations of DRCs. Make things clearer by renaming things in a more consistent XXX_from_YYY() manner and remove some called-only-once variants in favour of open coding. While we're at it, move this code together in the file to avoid some extra forward references, and split out construction and removal of DRCs for the host bridge into helper functions. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions