qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/1] util/async-teardown: wire up query-command-line-options
@ 2023-03-27 12:03 Claudio Imbrenda
  2023-03-27 12:03 ` [PATCH v4 1/1] " Claudio Imbrenda
  0 siblings, 1 reply; 3+ messages in thread
From: Claudio Imbrenda @ 2023-03-27 12:03 UTC (permalink / raw)
  To: pbonzini
  Cc: qemu-devel, david, thuth, borntraeger, frankja, fiuczy, pasic,
	nsg, berrange, alex.bennee, armbru

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-27 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 12:03 [PATCH v4 0/1] util/async-teardown: wire up query-command-line-options Claudio Imbrenda
2023-03-27 12:03 ` [PATCH v4 1/1] " Claudio Imbrenda
2023-03-27 12:59   ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).