Skip to contentSkip to conversation

Miscellaneous patches for 2021-07-27

GIT PULL Applied Markus Armbruster 2 participants 4 messages Jul 27, 2021 – Jul 28, 2021

lore
Share & tools
lore
#0 lore raw

The following changes since commit ca4b5ef371d6602b73bc5eec08e3199b05caf146:

Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-migration-20210726a' into staging (2021-07-27 10:55:50 +0100)

are available in the Git repository at:

git://repo.or.cz/qemu/armbru.git tags/pull-misc-2021-07-27

for you to fetch changes up to 3e61a13af3d3a1942a1ec2f6dfd7b407a43e4273:

vl: Don't continue after -smp help. (2021-07-27 16:52:37 +0200)

----------------------------------------------------------------
Miscellaneous patches for 2021-07-27

----------------------------------------------------------------
Markus Armbruster (1):
vl: Don't continue after -smp help.

 softmmu/vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.31.1
#1 lore raw

[PULL 1/1] 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.

Message-Id: <[email protected]>

---
 softmmu/vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
softmmu/vl.c +1 -1
index f815acccaa..4dee472c79 100644
@@ -1545,7 +1545,7 @@ machine_parse_property_opt(QemuOptsList *opts_list, const char *propname,
     prop = keyval_parse(arg, opts_list->implied_opt_name, &help, errp);
     if (help) {
         qemu_opts_print_help(opts_list, true);
-        return;
+        exit(0);
     }
     opts = qdict_new();
     qdict_put(opts, propname, prop);
Signature · 1 line
2.31.1
#2 lore raw
In reply to Markus Armbruster
Quoted 16 lines · Markus Armbruster

The following changes since commit ca4b5ef371d6602b73bc5eec08e3199b05caf146:

Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-migration-20210726a' into staging (2021-07-27 10:55:50 +0100)

are available in the Git repository at:

git://repo.or.cz/qemu/armbru.git tags/pull-misc-2021-07-27

for you to fetch changes up to 3e61a13af3d3a1942a1ec2f6dfd7b407a43e4273:

vl: Don't continue after -smp help. (2021-07-27 16:52:37 +0200)

----------------------------------------------------------------
Miscellaneous patches for 2021-07-27

Quoted 6 lines

----------------------------------------------------------------
Markus Armbruster (1):
vl: Don't continue after -smp help.

 softmmu/vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Just a note to say this has missed rc1 but is still on my list and I'll apply it for rc2.

thanks
-- PMM

#3 lore raw
In reply to Markus Armbruster
Quoted 16 lines · Markus Armbruster

The following changes since commit ca4b5ef371d6602b73bc5eec08e3199b05caf146:

Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-migration-20210726a' into staging (2021-07-27 10:55:50 +0100)

are available in the Git repository at:

git://repo.or.cz/qemu/armbru.git tags/pull-misc-2021-07-27

for you to fetch changes up to 3e61a13af3d3a1942a1ec2f6dfd7b407a43e4273:

vl: Don't continue after -smp help. (2021-07-27 16:52:37 +0200)

----------------------------------------------------------------
Miscellaneous patches for 2021-07-27

Quoted 7 lines

----------------------------------------------------------------
Markus Armbruster (1):
vl: Don't continue after -smp help.

 softmmu/vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM