Greg Kurz 74e51a38f7 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>
2020-01-08 11:01:59 +11:00
..
2019-08-16 13:31:52 +02:00
2020-01-06 14:08:04 +00:00
2020-01-07 16:25:00 +00:00
2019-12-17 09:01:14 +01:00
2020-01-07 16:25:00 +00:00
2019-08-16 13:31:52 +02:00
2020-01-06 14:51:51 +00:00
2019-12-16 13:04:46 +01:00
2019-12-17 19:33:52 +01:00
2019-12-16 10:46:34 +00:00
2019-08-16 13:31:53 +02:00
2019-12-17 19:33:51 +01:00
2019-08-16 13:31:53 +02:00
2020-01-08 11:01:59 +11:00
2020-01-07 16:25:00 +00:00
2019-10-28 19:06:47 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-10-18 20:38:10 -07:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00