mbox series

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

Message ID 20230327120357.34743-1-imbrenda@linux.ibm.com (mailing list archive)
Headers show
Series util/async-teardown: wire up query-command-line-options | expand

Message

Claudio Imbrenda March 27, 2023, 12:03 p.m. UTC
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(-)