Greg Kurz 7abc0c6d35 xics/spapr: Detect old KVM XICS on POWER9 hosts
Older KVMs on POWER9 don't support destroying/recreating a KVM XICS
device, which is required by 'dual' interrupt controller mode. This
causes QEMU to emit a warning when the guest is rebooted and to fall
back on XICS emulation:

qemu-system-ppc64: warning: kernel_irqchip allowed but unavailable:
 Error on KVM_CREATE_DEVICE for XICS: File exists

If kernel irqchip is required, QEMU will thus exit when the guest is
first rebooted. Failing QEMU this late may be a painful experience
for the user.

Detect that and exit at machine init instead.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <156044430517.125694.6207865998817342638.stgit@bahia.lab.toulouse-stg.fr.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-07-02 09:43:58 +10:00
..
2019-06-24 10:42:30 +01:00
2019-06-16 16:16:52 -04:00
2019-07-01 13:03:51 +01:00
2019-06-24 10:42:30 +01:00
2019-06-24 10:42:30 +01:00
2019-06-26 13:25:07 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2019-06-24 10:42:30 +01:00
2019-06-16 16:16:52 -04:00
2019-06-21 13:25:29 +02:00
2019-06-24 10:42:30 +01:00
2019-06-24 10:42:30 +01:00