From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoVfa-0002yz-Kp for qemu-devel@nongnu.org; Tue, 20 Oct 2015 08:05:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoVfV-0000Wt-L4 for qemu-devel@nongnu.org; Tue, 20 Oct 2015 08:05:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoVfV-0000Wp-FN for qemu-devel@nongnu.org; Tue, 20 Oct 2015 08:05:29 -0400 References: <1445189728-860-1-git-send-email-drjones@redhat.com> <1445189728-860-2-git-send-email-drjones@redhat.com> <20151019185117.GG4914@thinpad.lan.raisama.net> From: Paolo Bonzini Message-ID: <56262E04.6010706@redhat.com> Date: Tue, 20 Oct 2015 14:05:24 +0200 MIME-Version: 1.0 In-Reply-To: <20151019185117.GG4914@thinpad.lan.raisama.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/2] vl: trivial: minor tweaks to a max-cpu error msg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost , Andrew Jones Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org On 19/10/2015 20:51, Eduardo Habkost wrote: > On Sun, Oct 18, 2015 at 07:35:27PM +0200, Andrew Jones wrote: >> Signed-off-by: Andrew Jones > > Reviewed-by: Eduardo Habkost > Acked-by: Eduardo Habkost > > If this can go through my tree, please let me know. Sure, why not. Paolo >> --- >> vl.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/vl.c b/vl.c >> index 7c806a2428399..9a64b75ebbd24 100644 >> --- a/vl.c >> +++ b/vl.c >> @@ -4080,8 +4080,8 @@ int main(int argc, char **argv, char **envp) >> >> machine_class->max_cpus = machine_class->max_cpus ?: 1; /* Default to UP */ >> if (max_cpus > machine_class->max_cpus) { >> - fprintf(stderr, "Number of SMP cpus requested (%d), exceeds max cpus " >> - "supported by machine `%s' (%d)\n", max_cpus, >> + fprintf(stderr, "Number of SMP CPUs requested (%d) exceeds max CPUs " >> + "supported by machine '%s' (%d)\n", max_cpus, >> machine_class->name, machine_class->max_cpus); >> exit(1); >> } >> -- >> 2.4.3 >> >