From nobody Fri Apr 26 06:35:10 2024 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1557992306; cv=none; d=zoho.com; s=zohoarc; b=Ky4HicvqUEv3M+EhPjO4cOWus56v5MIi44t1kdIj4gWF2TIaiPYZlmv8+PPvSzqjkWyi1RaRo5DJXYFKyVMhgIjSSjRy13/ytvIRy2E5WGkBHpB3jth5+zmEMkOyG+y/leaa3A79Vu+NHql8xqUSYIhBYpfuy2mgdTiMSRCvuDM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557992306; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=59+oJ27YY4Hs/q2BWAhAR6NtoILYXHAMQNnsY35gYmc=; b=E8nt/m6rQggBGI84c0DE7tkrgwV2VwTeq2HORuuSOd8Ex8m4HdpxOzG3/32uGwph8QK02jXTbsGb/3B9KIve5/hE85l3b2RyWnF7DtPVd8SzgK2Ts8Elveo3oU8iw75uASaq7Xffg4bcJwynQOm2z0s4+RbRhASjW7Rf3K3ea4w= ARC-Authentication-Results: i=1; mx.zoho.com; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1557992306036688.8450287146295; Thu, 16 May 2019 00:38:26 -0700 (PDT) Received: from localhost ([127.0.0.1]:50125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRAxu-0002Pd-Di for importer@patchew.org; Thu, 16 May 2019 03:38:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRAwv-00024u-Rn for qemu-devel@nongnu.org; Thu, 16 May 2019 03:37:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRAwu-0006rK-T9 for qemu-devel@nongnu.org; Thu, 16 May 2019 03:37:09 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36654) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRAwu-0006oL-Hv for qemu-devel@nongnu.org; Thu, 16 May 2019 03:37:08 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4G7b1o6130913 for ; Thu, 16 May 2019 03:37:05 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2sh1rtcss4-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 16 May 2019 03:37:04 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 16 May 2019 08:37:02 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 16 May 2019 08:36:59 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x4G7aw0346989470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 May 2019 07:36:58 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F25B0AE053; Thu, 16 May 2019 07:36:57 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BE4B8AE056; Thu, 16 May 2019 07:36:57 +0000 (GMT) Received: from bahia.lan (unknown [9.145.156.103]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 16 May 2019 07:36:57 +0000 (GMT) From: Greg Kurz To: David Gibson , =?utf-8?q?C=C3=A9dric?= Le Goater , Greg Kurz Date: Thu, 16 May 2019 09:36:57 +0200 User-Agent: StGit/unknown-version MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 x-cbid: 19051607-0020-0000-0000-0000033D3B12 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19051607-0021-0000-0000-000021900122 Message-Id: <155799221739.527449.14907564571096243745.stgit@bahia.lan> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-16_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=840 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905160052 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 148.163.156.1 Subject: [Qemu-devel] [PATCH] spapr: Print out extra hints when CAS negotiation of interrupt mode fails X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Satheesh Rajendran , qemu-ppc@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Let's suggest to the user how the machine should be configured to allow the guest to boot successfully. Suggested-by: Satheesh Rajendran Signed-off-by: Greg Kurz Reviewed-by: Satheesh Rajendran Tested-by: Satheesh Rajendran --- hw/ppc/spapr_hcall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c index 63a55614b83d..aae9fd2b3e6d 100644 --- a/hw/ppc/spapr_hcall.c +++ b/hw/ppc/spapr_hcall.c @@ -1646,12 +1646,12 @@ static target_ulong h_client_architecture_support(P= owerPCCPU *cpu, */ if (guest_xive) { if (spapr->irq->ov5 =3D=3D SPAPR_OV5_XIVE_LEGACY) { - error_report("Guest requested unavailable interrupt mode (XIVE= )"); + error_report("Guest requested unavailable interrupt mode (XIVE= ), try the ic-mode=3Dxive or ic-mode=3Ddual machine property"); exit(EXIT_FAILURE); } } else { if (spapr->irq->ov5 =3D=3D SPAPR_OV5_XIVE_EXPLOIT) { - error_report("Guest requested unavailable interrupt mode (XICS= )"); + error_report("Guest requested unavailable interrupt mode (XICS= ), either don't set the ic-mode machine property or try ic-mode=3Dxics or i= c-mode=3Ddual"); exit(EXIT_FAILURE); } }