Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qemu-sockets: update socket_uri() and socket_parse() to be consistent
To be consistent with socket_uri(), add 'tcp:' prefix for inet type in socket_parse(), by default socket_parse() use tcp when no prefix is provided (format is host:port). In socket_uri(), use 'vsock:' prefix for vsock type rather than 'tcp:' because it makes a vsock address look like an inet address with CID misinterpreted as host. Goes back to commit 9aca82b "migration: Create socket-address parameter" Signed-off-by: Laurent Vivier <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Reviewed-by: David Gibson <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Jason Wang <[email protected]>
- Loading branch information