qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] what is the syntax and meaning of -numa cpus=foo-bar ?


From: Eduardo Habkost
Subject: Re: [Qemu-devel] what is the syntax and meaning of -numa cpus=foo-bar ?
Date: Mon, 23 Jan 2017 14:23:07 -0200
User-agent: Mutt/1.7.1 (2016-10-04)

On Mon, Jan 23, 2017 at 03:14:28PM +0000, Peter Maydell wrote:
> Hi; something we noticed recently is that some versions of
> makeinfo gripe about the -numa option syntax in qemu-options.hx:
> 
> qemu-options.texi:60: warning: unlikely character [ in @var.
> qemu-options.texi:60: warning: unlikely character ] in @var.
> qemu-options.texi:61: warning: unlikely character [ in @var.
> qemu-options.texi:61: warning: unlikely character ] in @var.
> 
> This is provoked by qemu-options.hx having:
> 
> @item -numa node[,address@hidden,address@hidden,address@hidden
> @itemx -numa node[,address@hidden,address@hidden,address@hidden
> 
> The obvious simple syntax fix is to change it to
> "address@hidden@var{cpu}]" (ie the @var{} covers only
> the metasyntactic variables the user has to fill in,
> not the '-' which is I think a literal and the [] which
> are indicating that the second part is optional).

Makes sense to me.

> 
> However, this leaves me still rather in the dark as a user of
> the documentation about what the option actually does. The
> text below doesn't explain what the two 'cpu' fields I
> can fill in do, or what values they can take. They should
> probably be different names as well (eg "start-end", or
> whatever makes sense for the semantics) so that the text
> can refer to them usefully.
> 

Yes, "start-end" would make it clearer. The "cpus" option can
also appear multiple times if the list of CPUs is a
non-contiguous range.

> Would somebody who understands the -numa option like to
> propose a few lines of text to clarify things?

I will take a look and propose a patch. Thanks for the report!

-- 
Eduardo



reply via email to

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