io: Document qmp oob suitability of qio_channel_shutdown and io_shutdown
authorLukas Straub <lukasstraub2@web.de>
Mon, 28 Dec 2020 15:08:59 +0000 (16:08 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 13 Jan 2021 09:21:17 +0000 (10:21 +0100)
commit8659f317d3303092d8e534eeefd160aa5ead9aab
tree620f659b7f3dc7b2e61e21f3997bda405f877e7d
parente4d2bfb1700db663ddda448368f06570f7f81970
io: Document qmp oob suitability of qio_channel_shutdown and io_shutdown

Migration and yank code assume that qio_channel_shutdown is thread
-safe and can be called from qmp oob handler. Document this after
checking the code.

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <32b8c27e256da043f0f00db05bd7ab8fbc506070.1609167865.git.lukasstraub2@web.de>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
include/io/channel.h