summaryrefslogtreecommitdiffstats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorGreg Kurz2020-01-06 15:56:38 +0100
committerDavid Gibson2020-01-08 01:01:59 +0100
commit53981dd50566288904c03e5e7d31b43bc587cb37 (patch)
tree79a95b35e20660fcc299832206f21f59544259c5 /scripts/qapi
parentspapr, pnv, xive: Add a "xive-fabric" link to the XIVE router (diff)
downloadqemu-53981dd50566288904c03e5e7d31b43bc587cb37.tar.gz
qemu-53981dd50566288904c03e5e7d31b43bc587cb37.tar.xz
qemu-53981dd50566288904c03e5e7d31b43bc587cb37.zip
xive: Use the XIVE fabric link under the XIVE router
Now that the spapr and pnv machines do set the "xive-fabric" link, the use of the XIVE fabric pointer becomes mandatory. This is checked with an assert() in a new realize hook. Since the XIVE router is realized at machine init for the all the machine's life time, no risk to abort an already running guest (ie. not a hotplug path). This gets rid of a qdev_get_machine() call. Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20200106145645.4539-6-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions