qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/2] vl: trivial: minor tweaks to a max-cpu erro


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 1/2] vl: trivial: minor tweaks to a max-cpu error msg
Date: Tue, 20 Oct 2015 09:12:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Andrew Jones <address@hidden> writes:

> Signed-off-by: Andrew Jones <address@hidden>
> ---
>  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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]