Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932478AbbDMN6K (ORCPT ); Mon, 13 Apr 2015 09:58:10 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:50546 "EHLO e06smtp17.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754293AbbDMN5L (ORCPT ); Mon, 13 Apr 2015 09:57:11 -0400 From: Michael Mueller 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 , "Jason J. Herne" , Cornelia Huck , Paolo Bonzini , Michael Mueller , Andreas Faerber , Richard Henderson , Daniel Hansel Subject: [PATCH v5 14/17] target-s390x: Initialize S390 CPU model name in CPUState Date: Mon, 13 Apr 2015 15:56:33 +0200 Message-Id: <1428933396-37887-15-git-send-email-mimu@linux.vnet.ibm.com> X-Mailer: git-send-email 2.1.4 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> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15041313-0029-0000-0000-0000042AF8F0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 822 Lines: 28 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/