]> git.proxmox.com Git - mirror_qemu.git/commit - ui/spice-core.c
spice: fix "info spice"
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Apr 2014 06:55:44 +0000 (08:55 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 8 May 2014 08:45:54 +0000 (10:45 +0200)
commit4f60af9ac00800d5833f6ec4317535aeaddb1616
treec51c9447a0cf0e340c20f17828d949cbf89f5b9a
parentff788b6fe67f694666781f821c1af812e8c7999b
spice: fix "info spice"

In case no listening address was specified, "info spice" reports
"0.0.0.0" as address.  Which is incorrect in case spice is listening
on ipv6.  Replace it by a wildcard "*" to indicate it is not limited
to a specific address.

Note:  Being more specific is not possible without extending the
spice-server api.  The socket is handled by spice-server not
qemu, so qemu can't easily figure the actual socket address.

Reported-by: David Jaša <djasa@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-core.c