From nobody Wed Oct 29 05:55:55 2025 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=208.118.235.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 Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 151318540120945.70268661420198; Wed, 13 Dec 2017 09:16:41 -0800 (PST) Received: from localhost ([::1]:36558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePAdt-00021u-0H for importer@patchew.org; Wed, 13 Dec 2017 12:16:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePAcw-0001YX-Cj for qemu-devel@nongnu.org; Wed, 13 Dec 2017 12:15:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePAcs-0005x3-Sl for qemu-devel@nongnu.org; Wed, 13 Dec 2017 12:15:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52436) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePAcs-0005ve-MY; Wed, 13 Dec 2017 12:15:22 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D04CEC047B97; Wed, 13 Dec 2017 17:15:20 +0000 (UTC) Received: from t460s.redhat.com (ovpn-117-206.ams2.redhat.com [10.36.117.206]) by smtp.corp.redhat.com (Postfix) with ESMTP id EBA1752FD5; Wed, 13 Dec 2017 17:15:13 +0000 (UTC) From: David Hildenbrand To: qemu-s390x@nongnu.org, qemu-devel@nongnu.org Date: Wed, 13 Dec 2017 18:15:12 +0100 Message-Id: <20171213171512.17601-1-david@redhat.com> In-Reply-To: <20171208165529.14124-1-david@redhat.com> References: <20171208165529.14124-1-david@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 13 Dec 2017 17:15:20 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v1] s390x/tcg: don't include z13 features in the qemu model 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: Christian Borntraeger , Cornelia Huck , David Hildenbrand , Alexander Graf , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_6 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" As Cornelia noticed, -cpu qemu will not boot on a z12 machine. Don't enable z13 features as default for now (as we are emulating a z12 in TCG for now). Signed-off-by: David Hildenbrand --- target/s390x/gen-features.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/s390x/gen-features.c b/target/s390x/gen-features.c index deace660e1..b24f6ada5b 100644 --- a/target/s390x/gen-features.c +++ b/target/s390x/gen-features.c @@ -570,13 +570,14 @@ static uint16_t qemu_LATEST[] =3D { S390_FEAT_STFLE_49, S390_FEAT_LOCAL_TLB_CLEARING, S390_FEAT_INTERLOCKED_ACCESS_2, - S390_FEAT_STFLE_53, S390_FEAT_MSA_EXT_4, S390_FEAT_MSA_EXT_3, }; =20 /* add all new definitions before this point */ static uint16_t qemu_MAX[] =3D { + /* z13+ features */ + S390_FEAT_STFLE_53, /* generates a dependency warning, leave it out for now */ S390_FEAT_MSA_EXT_5, }; --=20 2.14.3