Received: from eggs.gnu.org ([2001:4830:134:3::10]:35072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR0r1-0006gV-1O for qemu-devel@nongnu.org; Thu, 26 Feb 2015 10:59:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR0qw-0007xO-2z for qemu-devel@nongnu.org; Thu, 26 Feb 2015 10:59:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR0qv-0007xF-SI for qemu-devel@nongnu.org; Thu, 26 Feb 2015 10:59:54 -0500 Date: Thu, 26 Feb 2015 12:59:49 -0300 From: Eduardo Habkost Message-ID: <20150226155949.GA3513@thinpad.lan.raisama.net> References: <1424894306-26740-1-git-send-email-ehabkost@redhat.com> <1424894306-26740-5-git-send-email-ehabkost@redhat.com> <54EE477F.4000106@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <54EE477F.4000106@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 04/11] target-i386: Rename cpu_x86_init() to cpu_x86_init_user() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: Peter Maydell , qemu-devel@nongnu.org, Paolo Bonzini On Wed, Feb 25, 2015 at 11:06:55PM +0100, Andreas F=E4rber wrote: > Am 25.02.2015 um 20:58 schrieb Eduardo Habkost: > > The function is used only for CONFIG_USER, so make its purpose clear. > >=20 > > Reviewed-by: Paolo Bonzini > > Signed-off-by: Eduardo Habkost > > --- > > target-i386/cpu.c | 2 +- > > target-i386/cpu.h | 4 ++-- > > 2 files changed, 3 insertions(+), 3 deletions(-) >=20 > Please don't. I happily got all architectures aligned that it's at leas= t > cpu_something_init, and it only happens to be user-only for x86. It is > rather the legacy function that was used in both system and user. If that's a legacy function, what are the steps you plan to follow to eliminate it? I would be glad to help eliminating legacy code. Initialization of CPUs in *-user and *-softmmu is different in i386, so we are going to have different code for both. How do you think I should name the *-user-specific CPU init function in target-i386, then? --=20 Eduardo