vl: Don't continue after -smp help.pull-misc-2021-07-27
commit3e61a13af3d3a1942a1ec2f6dfd7b407a43e4273
authorMarkus Armbruster <armbru@redhat.com>
Tue, 20 Jul 2021 12:54:08 +0000 (20 14:54 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 27 Jul 2021 14:52:37 +0000 (27 16:52 +0200)
treeca6ab46e5560c0c35684dd59d17618833636b46c
parentca4b5ef371d6602b73bc5eec08e3199b05caf146
vl: Don't continue after -smp help.

We continue after -smp help:

    $ qemu-system-x86_64 -smp help -display none -monitor stdio
    smp-opts options:
      cores=<num>
      cpus=<num>
      dies=<num>
      maxcpus=<num>
      sockets=<num>
      threads=<num>
    QEMU 6.0.50 monitor - type 'help' for more information
    (qemu)

Other options, such as -object help and -device help, don't.

Adjust -smp not to continue either.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210720125408.387910-17-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
softmmu/vl.c