aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2022-10-21 11:09:19 +0200
committerJason Wang <jasowang@redhat.com>2022-10-28 13:28:52 +0800
commit7651b3211904eda3207d50f31c7f9acc8c375cec (patch)
tree33ff9339e6c2c8e3d6f520e53f076d5a2df37b27 /qemu-options.hx
parent18bf1c94565b1b594873aaea9dfd47c83abd8543 (diff)
downloadqemu-7651b3211904eda3207d50f31c7f9acc8c375cec.zip
qemu-7651b3211904eda3207d50f31c7f9acc8c375cec.tar.gz
qemu-7651b3211904eda3207d50f31c7f9acc8c375cec.tar.bz2
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 9aca82ba31 "migration: Create socket-address parameter" Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'qemu-options.hx')
0 files changed, 0 insertions, 0 deletions