diff options
| author | Greg Kurz | 2020-01-06 15:56:38 +0100 |
|---|---|---|
| committer | David Gibson | 2020-01-08 01:01:59 +0100 |
| commit | 53981dd50566288904c03e5e7d31b43bc587cb37 (patch) | |
| tree | 79a95b35e20660fcc299832206f21f59544259c5 /scripts | |
| parent | spapr, pnv, xive: Add a "xive-fabric" link to the XIVE router (diff) | |
| download | qemu-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')
0 files changed, 0 insertions, 0 deletions
