diff mbox series

numa: fix missing '-numa cpu' in '-help' output

Message ID 1511880838-56509-1-git-send-email-imammedo@redhat.com
State New
Headers show
Series numa: fix missing '-numa cpu' in '-help' output | expand

Commit Message

Igor Mammedov Nov. 28, 2017, 2:53 p.m. UTC
commit 419fcdec3c (numa: add '-numa cpu,...' option for property based node mapping)
added '-numa cpu' option but forgot to update appropriate section for '--help'.
Add '-numa cpu' description to '-help' output

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 qemu-options.hx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Eric Blake Nov. 28, 2017, 4:59 p.m. UTC | #1
On 11/28/2017 08:53 AM, Igor Mammedov wrote:
> commit 419fcdec3c (numa: add '-numa cpu,...' option for property based node mapping)
> added '-numa cpu' option but forgot to update appropriate section for '--help'.
> Add '-numa cpu' description to '-help' output
> 
> Reported-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> ---
>   qemu-options.hx | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)

Documentation only; safe for 2.11 if it makes it through someone's tree 
(although we're cutting it close); and harmless if it waits for 2.12 
instead.

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/qemu-options.hx b/qemu-options.hx
> index df19cf2..972a5c6 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -163,7 +163,9 @@ ETEXI
>   DEF("numa", HAS_ARG, QEMU_OPTION_numa,
>       "-numa node[,mem=size][,cpus=firstcpu[-lastcpu]][,nodeid=node]\n"
>       "-numa node[,memdev=id][,cpus=firstcpu[-lastcpu]][,nodeid=node]\n"
> -    "-numa dist,src=source,dst=destination,val=distance\n", QEMU_ARCH_ALL)
> +    "-numa dist,src=source,dst=destination,val=distance\n"
> +    "-numa cpu,node-id=node[,socket-id=x][,core-id=y][,thread-id=z]\n",
> +    QEMU_ARCH_ALL)
>   STEXI
>   @item -numa node[,mem=@var{size}][,cpus=@var{firstcpu}[-@var{lastcpu}]][,nodeid=@var{node}]
>   @itemx -numa node[,memdev=@var{id}][,cpus=@var{firstcpu}[-@var{lastcpu}]][,nodeid=@var{node}]
>
Eduardo Habkost Nov. 28, 2017, 6:34 p.m. UTC | #2
On Tue, Nov 28, 2017 at 10:59:57AM -0600, Eric Blake wrote:
> On 11/28/2017 08:53 AM, Igor Mammedov wrote:
> > commit 419fcdec3c (numa: add '-numa cpu,...' option for property based node mapping)
> > added '-numa cpu' option but forgot to update appropriate section for '--help'.
> > Add '-numa cpu' description to '-help' output
> > 
> > Reported-by: Markus Armbruster <armbru@redhat.com>
> > Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> > ---
> >   qemu-options.hx | 4 +++-
> >   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> Documentation only; safe for 2.11 if it makes it through someone's tree
> (although we're cutting it close); and harmless if it waits for 2.12
> instead.
> 
> Reviewed-by: Eric Blake <eblake@redhat.com>

Thanks, queueing it for 2.12 on machine-next.
diff mbox series

Patch

diff --git a/qemu-options.hx b/qemu-options.hx
index df19cf2..972a5c6 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -163,7 +163,9 @@  ETEXI
 DEF("numa", HAS_ARG, QEMU_OPTION_numa,
     "-numa node[,mem=size][,cpus=firstcpu[-lastcpu]][,nodeid=node]\n"
     "-numa node[,memdev=id][,cpus=firstcpu[-lastcpu]][,nodeid=node]\n"
-    "-numa dist,src=source,dst=destination,val=distance\n", QEMU_ARCH_ALL)
+    "-numa dist,src=source,dst=destination,val=distance\n"
+    "-numa cpu,node-id=node[,socket-id=x][,core-id=y][,thread-id=z]\n",
+    QEMU_ARCH_ALL)
 STEXI
 @item -numa node[,mem=@var{size}][,cpus=@var{firstcpu}[-@var{lastcpu}]][,nodeid=@var{node}]
 @itemx -numa node[,memdev=@var{id}][,cpus=@var{firstcpu}[-@var{lastcpu}]][,nodeid=@var{node}]