diff options
author | Greg Kurz | 2020-01-06 15:56:42 +0100 |
---|---|---|
committer | David Gibson | 2020-01-08 01:01:59 +0100 |
commit | 74e51a38f74537d7260f0d45fb01e675f1558163 (patch) | |
tree | 625dab96f6f9987a9ce24945e69e8b5e9a118b43 /include/standard-headers/linux/input-event-codes.h | |
parent | xive: Add a "presenter" link property to the TCTX object (diff) | |
download | qemu-74e51a38f74537d7260f0d45fb01e675f1558163.tar.gz qemu-74e51a38f74537d7260f0d45fb01e675f1558163.tar.xz qemu-74e51a38f74537d7260f0d45fb01e675f1558163.zip |
spapr/xive: Deduce the SpaprXive pointer from XiveTCTX::xptr
And use it instead of reaching out to the machine. This allows to get rid
of a call to qdev_get_machine() and to reduce the scope of another one so
that it is only used within the argument list of error_append_hint(). This
is an acceptable tradeoff compared to all it would require to know about
the maximum number of CPUs here without calling qdev_get_machine().
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200106145645.4539-10-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/standard-headers/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions