From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWRT0-0005du-Mx for qemu-devel@nongnu.org; Sat, 15 Jul 2017 14:07:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWRSu-0005N4-QD for qemu-devel@nongnu.org; Sat, 15 Jul 2017 14:06:58 -0400 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:34204) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWRSu-0005Ms-Js for qemu-devel@nongnu.org; Sat, 15 Jul 2017 14:06:52 -0400 Received: by mail-pg0-x243.google.com with SMTP id v190so594411pgv.1 for ; Sat, 15 Jul 2017 11:06:52 -0700 (PDT) Sender: Richard Henderson References: <1500040339-119465-1-git-send-email-imammedo@redhat.com> <1500040339-119465-14-git-send-email-imammedo@redhat.com> From: Richard Henderson Message-ID: Date: Sat, 15 Jul 2017 08:06:48 -1000 MIME-Version: 1.0 In-Reply-To: <1500040339-119465-14-git-send-email-imammedo@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 13/28] hppa: replace cpu_hppa_init() with cpu_generic_init() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov , qemu-devel@nongnu.org Cc: Peter Maydell , =?UTF-8?Q?Andreas_F=c3=a4rber?= , Eduardo Habkost On 07/14/2017 03:52 AM, Igor Mammedov wrote: > drop custom cpu_hppa_init() in favor of cpu_generic_init(), > to make cpu_generic_init() work all we need is to provide > cc->class_by_name callback that would resolve any cpu_model > to the sole TYPE_HPPA_CPU to match current behaviour. > > Signed-off-by: Igor Mammedov > --- > CC: Richard Henderson > > tested with linux-user > --- > target/hppa/cpu.h | 4 +--- > target/hppa/cpu.c | 11 +++-------- > 2 files changed, 4 insertions(+), 11 deletions(-) Acked-by: Richard Henderson r~