From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmkQH-0007Y6-6b for qemu-devel@nongnu.org; Mon, 27 Apr 2015 10:54:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmkQE-00017j-1k for qemu-devel@nongnu.org; Mon, 27 Apr 2015 10:54:13 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:44711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmkQD-00017T-I0 for qemu-devel@nongnu.org; Mon, 27 Apr 2015 10:54:09 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 27 Apr 2015 15:54:08 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 36BC42190061 for ; Mon, 27 Apr 2015 15:53:50 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3REs7fN11403742 for ; Mon, 27 Apr 2015 14:54:07 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3REs4Ac025191 for ; Mon, 27 Apr 2015 08:54:06 -0600 From: Michael Mueller Date: Mon, 27 Apr 2015 16:53:28 +0200 Message-Id: <1430146411-34632-15-git-send-email-mimu@linux.vnet.ibm.com> In-Reply-To: <1430146411-34632-1-git-send-email-mimu@linux.vnet.ibm.com> References: <1430146411-34632-1-git-send-email-mimu@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v6 14/17] target-s390x: Initialize S390 CPU model name in CPUState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost , Gleb Natapov , Alexander Graf , Christian Borntraeger , Daniel Hansel , "Jason J. Herne" , Cornelia Huck , Paolo Bonzini , Richard Henderson , Andreas Faerber , Michael Mueller The cpu model name now gets initialized during CPU instance initialization. Signed-off-by: Michael Mueller Acked-by: Christian Borntraeger --- target-s390x/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-s390x/cpu.c b/target-s390x/cpu.c index 65dee3e..771acbd 100644 --- a/target-s390x/cpu.c +++ b/target-s390x/cpu.c @@ -207,6 +207,7 @@ static void s390_cpu_initfn(Object *obj) struct tm tm; #endif + cs->model_name = strdup_cpu_name(S390_CPU_GET_CLASS(cs)); cs->env_ptr = env; cpu_exec_init(env); #if !defined(CONFIG_USER_ONLY) -- 1.8.3.1