[PATCH v4 0/1] util/async-teardown: wire up query-command-line-options

Claudio Imbrenda posted 1 patch 1 year ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230327120357.34743-1-imbrenda@linux.ibm.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>
os-posix.c            | 15 +++++++++++++--
qemu-options.hx       | 33 +++++++++++++++++++--------------
util/async-teardown.c | 21 +++++++++++++++++++++
3 files changed, 53 insertions(+), 16 deletions(-)
[PATCH v4 0/1] util/async-teardown: wire up query-command-line-options
Posted by Claudio Imbrenda 1 year ago
The recently introduced -async-teardown commandline option was not
wired up properly and did not show up in the output of the QMP command
query-command-line-options. This means that libvirt will have no way to
discover whether the feature is supported.

This patch fixes the issue by adding a new -teardown commandline option
with an async=on|off parameter, correctly wired up so that it appears
in the output of query-command-line-options.

v3->v4
* completely remove the useless -async-teardown option, since it was
  not wired up properly and it had no users [thomas]
* QEMU should be always uppercase in text and documentation [thomas]
* if the new -teardown option fails to parse, exit immediately instead
  of returning an error [thomas]

v2->v3
* add a new teardown option with an async parameter [Markus]
* reworded documentation of existing -async-teardown option so that it
  points to the new teardown option

v1->v2
* remove the unneeded .implied_opt_name initializer [Thomas]

Claudio Imbrenda (1):
  util/async-teardown: wire up query-command-line-options

 os-posix.c            | 15 +++++++++++++--
 qemu-options.hx       | 33 +++++++++++++++++++--------------
 util/async-teardown.c | 21 +++++++++++++++++++++
 3 files changed, 53 insertions(+), 16 deletions(-)

-- 
2.39.2