From patchwork Sun Oct 18 17:35:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jones X-Patchwork-Id: 55181 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lf0-f70.google.com (mail-lf0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 8CB742309B for ; Sun, 18 Oct 2015 17:36:39 +0000 (UTC) Received: by lffv3 with SMTP id v3sf32377224lff.1 for ; Sun, 18 Oct 2015 10:36:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=pRwGG8MIozCnYAibW0BCuMW/v6JfDR+v3FmUO62MdGs=; b=VeFHWv2nRy/Q55pj8OxxxV6CYTNh3DTMjHY3nuYen/gL6MZt+W0ukmmoS/XKXjM8d/ crNygJ5nVVFauKnrYpcG7ikNVFvS3RTWA2scBbHRx2X9qooKb9SPMGZs4qnyZVeWlh05 I6MeGMX/N7NNY07LTzu+Yasoku0t8PTTyu/XeB6TL3RkEsYYvUSYqL2REHHTHjIcavjD yh0gi7Eugykph2CD3VCSrKKqG36XbCpFb9o0pOEbnbRQjrKlQPJURCxfR41gZDhR4Yft Tw6jlMdEoSyCo9ACXD2PwqjW3CkI099mpMM//R7YBwn5x44PMp4n8x3hf4w60+1GFPg9 gy7w== X-Gm-Message-State: ALoCoQn9iaGCwKC9c61zxznwHhDXST33XKRxM/9xo7jwCrXjQbc+0clU0Z32ggRXzb0dKvSVNZr0 X-Received: by 10.112.173.170 with SMTP id bl10mr2922135lbc.7.1445189798217; Sun, 18 Oct 2015 10:36:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.153.196 with SMTP id b187ls498764lfe.80.gmail; Sun, 18 Oct 2015 10:36:38 -0700 (PDT) X-Received: by 10.112.62.137 with SMTP id y9mr12477192lbr.63.1445189798046; Sun, 18 Oct 2015 10:36:38 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id p12si15915873lfe.49.2015.10.18.10.36.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Oct 2015 10:36:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbbpp2 with SMTP id pp2so99329276lbb.0 for ; Sun, 18 Oct 2015 10:36:38 -0700 (PDT) X-Received: by 10.112.199.137 with SMTP id jk9mr12663328lbc.86.1445189797926; Sun, 18 Oct 2015 10:36:37 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1063733lbq; Sun, 18 Oct 2015 10:36:37 -0700 (PDT) X-Received: by 10.141.28.6 with SMTP id f6mr32810378qhe.53.1445189796157; Sun, 18 Oct 2015 10:36:36 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 141si26893679qhx.1.2015.10.18.10.36.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 18 Oct 2015 10:36:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:34945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Znrsp-0005Ty-OP for patch@linaro.org; Sun, 18 Oct 2015 13:36:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Znrrv-0004tz-GQ for qemu-devel@nongnu.org; Sun, 18 Oct 2015 13:35:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Znrrr-0001KT-H2 for qemu-devel@nongnu.org; Sun, 18 Oct 2015 13:35:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Znrrr-0001KJ-B9 for qemu-devel@nongnu.org; Sun, 18 Oct 2015 13:35:35 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id EAB573B3C2; Sun, 18 Oct 2015 17:35:34 +0000 (UTC) Received: from hawk.localdomain.com (dhcp-1-125.brq.redhat.com [10.34.1.125]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t9IHZVTp030229; Sun, 18 Oct 2015 13:35:33 -0400 From: Andrew Jones To: qemu-devel@nongnu.org Date: Sun, 18 Oct 2015 19:35:27 +0200 Message-Id: <1445189728-860-2-git-send-email-drjones@redhat.com> In-Reply-To: <1445189728-860-1-git-send-email-drjones@redhat.com> References: <1445189728-860-1-git-send-email-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: peter.maydell@linaro.org, ehabkost@redhat.com Subject: [Qemu-devel] [PATCH 1/2] vl: trivial: minor tweaks to a max-cpu error msg X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: drjones@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Andrew Jones Reviewed-by: Eduardo Habkost Acked-by: Eduardo Habkost --- 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); }