diff options
author | Greg Kurz <groug@kaod.org> | 2019-04-05 18:30:43 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-04-26 11:37:57 +1000 |
commit | c413605ba6bfe9ae9f27d316f573df562d70830a (patch) | |
tree | e0baa4ffa49807c0ea39421ff1f0a43b5f055a6b /hw/pci/pci.c | |
parent | eb512d15a0c90a90400f7e4d2e40cb27eb1e914a (diff) | |
download | qemu-c413605ba6bfe9ae9f27d316f573df562d70830a.zip qemu-c413605ba6bfe9ae9f27d316f573df562d70830a.tar.gz qemu-c413605ba6bfe9ae9f27d316f573df562d70830a.tar.bz2 |
spapr_pci: Get rid of duplicate code for node name creation
According to the changelog of 298a971024534, SpaprPhbState::dtbusname was
introduced to "make it easier to relate the guest and qemu views of memory
to each other", hence its name.
Use it when creating the PHB node to avoid code duplication.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <155448184292.8446.8225650773162648595.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions