-incoming tcp: and migrate tcp: parse their URIs through socket_parse() -> inet_parse(), which uses the inet_opts QemuOptsList (util/qemu-sockets.c). That table has long accepted numeric, keep-alive and (when supported by the host) keep-alive-count, keep-alive-idle, keep-alive-interval and mptcp, but the -incoming synopsis only listed to/ipv4/ipv6.
List the other accepted options too, so the documentation matches what the parser actually supports. Signed-off-by: Mitsuru Kariya <[email protected]> --- qemu-options.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 7432b77571..d2b816e16f 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -5365,7 +5365,7 @@ SRST ERST DEF("incoming", HAS_ARG, QEMU_OPTION_incoming, \ - "-incoming tcp:[host]:port[,to=maxport][,ipv4=on|off][,ipv6=on|off]\n" \ + "-incoming tcp:[host]:port[,to=maxport][,numeric=on|off][,keep-alive=on|off][,keep-alive-count=count][,keep-alive-idle=idle][,keep-alive-interval=interval][,mptcp=on|off][,ipv4=on|off][,ipv6=on|off]\n" \ "-incoming rdma:host:port[,ipv4=on|off][,ipv6=on|off]\n" \ "-incoming unix:socketpath\n" \ " prepare for incoming migration, listen on\n" \ @@ -5387,7 +5387,7 @@ migration channel types. The channel type is specified in <channel>, or is 'main' for all other forms of -incoming. If multiple -incoming options are specified for a channel type, the last one takes precedence. -``-incoming tcp:[host]:port[,to=maxport][,ipv4=on|off][,ipv6=on|off]`` +``-incoming tcp:[host]:port[,to=maxport][,numeric=on|off][,keep-alive=on|off][,keep-alive-count=count][,keep-alive-idle=idle][,keep-alive-interval=interval][,mptcp=on|off][,ipv4=on|off][,ipv6=on|off]`` \ ``-incoming rdma:host:port[,ipv4=on|off][,ipv6=on|off]`` Prepare for incoming migration, listen on a given tcp port. -- 2.43.0
