]> git.ipfire.org Git - thirdparty/qemu.git/commit
util/async-teardown: wire up query-command-line-options
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Fri, 5 May 2023 12:00:51 +0000 (14:00 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 17 May 2023 09:27:58 +0000 (12:27 +0300)
commit8ad637881f6ddf404bd554e149450a98ba8f5446
tree0ce5ae5082191ea3ff0c288d577070599c731c01
parent21b54a683d14c0c6f9af35536d9059c60b7449ca
util/async-teardown: wire up query-command-line-options

Add new -run-with option with an async-teardown=on|off parameter. It is
visible in the output of query-command-line-options QMP command, so it
can be discovered and used by libvirt.

The option -async-teardown is now redundant, deprecate it.

Reported-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Fixes: c891c24b1a ("os-posix: asynchronous teardown for shutdown on Linux")
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20230505120051.36605-2-imbrenda@linux.ibm.com>
[thuth: Add curly braces to fix error with GCC 8.5, fix bug in deprecated.rst]
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 80bd81cadd127c1e2fc784612a52abe392670ba4)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: context tweak in docs/about/deprecated.rst)
docs/about/deprecated.rst
os-posix.c
qemu-options.hx
util/async-teardown.c