From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YherQ-00063J-6K for qemu-devel@nongnu.org; Mon, 13 Apr 2015 09:57:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YherM-0003mx-Sf for qemu-devel@nongnu.org; Mon, 13 Apr 2015 09:57:12 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:43096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YherL-0003lx-V6 for qemu-devel@nongnu.org; Mon, 13 Apr 2015 09:57:08 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 13 Apr 2015 14:57:06 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 552A7219006D for ; Mon, 13 Apr 2015 14:56:51 +0100 (BST) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3DDv5ev38535232 for ; Mon, 13 Apr 2015 13:57:05 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3DDv5qA032110 for ; Mon, 13 Apr 2015 07:57:05 -0600 From: Michael Mueller Date: Mon, 13 Apr 2015 15:56:33 +0200 Message-Id: <1428933396-37887-15-git-send-email-mimu@linux.vnet.ibm.com> In-Reply-To: <1428933396-37887-1-git-send-email-mimu@linux.vnet.ibm.com> References: <1428933396-37887-1-git-send-email-mimu@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v5 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, kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.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 --- 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