Re: [PATCH v5 11/12] qemu-sockets: introduce socket_uri()

2022-06-30 Thread Dr. David Alan Gilbert
* Laurent Vivier (lviv...@redhat.com) wrote: > Format a string URI from a SocketAddress. > > Original code from hmp-cmds.c:SocketAddress_to_str() > > Replace 'tcp:' by 'inet:' (because 'inet' can be also 'udp'). I think that's OK, it'll look a little odd in migration where the syntax for a migra

[PATCH v5 11/12] qemu-sockets: introduce socket_uri()

2022-06-27 Thread Laurent Vivier
Format a string URI from a SocketAddress. Original code from hmp-cmds.c:SocketAddress_to_str() Replace 'tcp:' by 'inet:' (because 'inet' can be also 'udp'). Replace 'tcp:' by 'vsock:' with vsock socket type. Signed-off-by: Laurent Vivier --- include/qemu/sockets.h | 2 +- monitor/hmp-cmds.c