diff options
author | Greg Kurz <groug@kaod.org> | 2020-01-06 15:56:38 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-01-08 11:01:59 +1100 |
commit | 53981dd50566288904c03e5e7d31b43bc587cb37 (patch) | |
tree | 79a95b35e20660fcc299832206f21f59544259c5 /qga | |
parent | d1214b819f26dcf95329af624e74bf42eeeb1a9a (diff) | |
download | qemu-53981dd50566288904c03e5e7d31b43bc587cb37.zip qemu-53981dd50566288904c03e5e7d31b43bc587cb37.tar.gz qemu-53981dd50566288904c03e5e7d31b43bc587cb37.tar.bz2 |
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 'qga')
0 files changed, 0 insertions, 0 deletions