net/stream: deprecate 'reconnect' in favor of 'reconnect-ms'
authorDaniil Tatianin <d-tatianin@yandex-team.ru>
Fri, 25 Oct 2024 07:35:24 +0000 (10:35 +0300)
committerJason Wang <jasowang@redhat.com>
Mon, 28 Oct 2024 06:37:25 +0000 (14:37 +0800)
commitc40e962d83f9968beb50fa7f3b6718461a7aedbf
tree82c49f71334ede6ca18ef461cba70f3c7addf50a
parentae311fb31543ca4e9de38c8435ebbdf6eca664d9
net/stream: deprecate 'reconnect' in favor of 'reconnect-ms'

Do the same thing we already did for chardev in c8e2b6b4d7e, and
introduce a new 'reconnect-ms' option to make it possible to specify
sub-second timeouts. This also changes the related documentaion and
tests to use reconnect-ms as well.

Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
docs/about/deprecated.rst
net/stream.c
qapi/net.json
qemu-options.hx
tests/qtest/netdev-socket.c