qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Jones <drjones@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, ehabkost@redhat.com
Subject: Re: [Qemu-devel] [PATCH 1/2] vl: trivial: minor tweaks to a max-cpu error msg
Date: Mon, 26 Oct 2015 14:00:49 +0100	[thread overview]
Message-ID: <20151026130049.GE30256@hawk.localdomain> (raw)
In-Reply-To: <87si56au99.fsf@blackfin.pond.sub.org>

On Tue, Oct 20, 2015 at 09:12:18AM +0200, Markus Armbruster wrote:
> Andrew Jones <drjones@redhat.com> writes:
> 
> > Signed-off-by: Andrew Jones <drjones@redhat.com>
> > ---
> >  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);
> >      }
> 
> While you're touching this, error_report(), please.
>

Good call. Eduardo, I'll send you a v2 now.

drew 

  reply	other threads:[~2015-10-26 13:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-18 17:35 [Qemu-devel] [PATCH v2 0/2] hw/arm/virt: max-cpus init/check fixup Andrew Jones
2015-10-18 17:35 ` [Qemu-devel] [PATCH 1/2] vl: trivial: minor tweaks to a max-cpu error msg Andrew Jones
2015-10-19 18:51   ` Eduardo Habkost
2015-10-20 12:05     ` Paolo Bonzini
2015-10-20  7:12   ` Markus Armbruster
2015-10-26 13:00     ` Andrew Jones [this message]
2015-10-26 13:38       ` Eduardo Habkost
2015-10-18 17:35 ` [Qemu-devel] [PATCH v2 2/2] hw/arm/virt: don't use a15memmap directly Andrew Jones
2015-10-19 15:24 ` [Qemu-devel] [PATCH v2 0/2] hw/arm/virt: max-cpus init/check fixup Laszlo Ersek
2015-10-23 15:01 ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151026130049.GE30256@hawk.localdomain \
    --to=drjones@redhat.com \
    --cc=armbru@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).