]> git.proxmox.com Git - mirror_qemu.git/commit - hw/intc/xics_spapr.c
xics/spapr: Only emulated XICS should use RTAS/hypercalls emulation
authorGreg Kurz <groug@kaod.org>
Mon, 17 Jun 2019 11:55:36 +0000 (13:55 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 1 Jul 2019 23:43:58 +0000 (09:43 +1000)
commit25c79a3089cbaa624aa0d2d3c1b936f181041e1d
treeb0262736c0e3975ca7eb96ad8917669c0b521626
parent7e10b57dd9e0d2570ecccca0e2f418618f303d8c
xics/spapr: Only emulated XICS should use RTAS/hypercalls emulation

Checking that we're not using the in-kernel XICS is ok with the "xics"
interrupt controller mode, but it is definitely not enough with the
other modes since the guest could be using XIVE.

Ensure XIVE is not in use when emulated XICS RTAS/hypercalls are
called.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <156077253666.424706.6104557911104491047.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xics_spapr.c