From: Paul Mackerras Date: Mon, 04 Dec 2017 01:04:09 +0000 Subject: Re: [PATCH] KVM: PPC: Book3S HV: check for XIVE device before executing the XICS hcalls Message-Id: <20171204010409.rasszyk4rsc3bbhm@oak.ozlabs.ibm.com> List-Id: References: <20171127073017.25463-1-clg@kaod.org> In-Reply-To: <20171127073017.25463-1-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: =?iso-8859-1?Q?C=E9dric?= Le Goater Cc: kvm-ppc@vger.kernel.org, Benjamin Herrenschmidt , linuxppc-dev@lists.ozlabs.org, Michael Ellerman On Mon, Nov 27, 2017 at 08:30:17AM +0100, C=E9dric Le Goater wrote: > When QEMU is started with the option kernel_irqchip=3D=F2ff, the kvm XICS > hcalls are being used even though a kvm XICS device has not been > created on the host, resulting quickly in a failure and a broken > guest. >=20 > The test checking if there is a XIVE device in the VM before executing > the XICS hcalls is missing from the recent XICS-over-XIVE glue. >=20 > Signed-off-by: C=E9dric Le Goater I think this is fixing the same bug that commit 00bb6ae50062 ("KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled", 2017-10-26) addresses. Do you think this patch is needed in addition to 00bb6ae50062? Paul.