RFE: Support spice via unix domain socket

Bug #1020484 reported by Till Maas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Wishlist
Unassigned

Bug Description

According to the man page, spice can be only used via TCP/IP in opposite to VNC, which can also be configured to listen on a unix domain socket. To make it easy to use spice without exposing the interface, please support unix domain sockets as well. I can try to provide a patch, if you can point me to the source code where TCP/IP socket is opened.

Revision history for this message
Alon Levy (alonlevy1) wrote :

There is already support for that in spice-server afaik, though I don't remember the api or what commit, or if it's in a released version (well, it's surely in 0.11.0, but that's unstable). Sorry about the lack of details, I suggest you search spice-devel mailing list archive though. I think libvirt can already use it, but perhaps you want a commandline option, that may be missing.

Alon

Thomas Huth (th-huth)
Changed in qemu:
importance: Undecided → Wishlist
Revision history for this message
elmarco (marcandre-lureau) wrote :

you could pass sockets via QMP a while ago, but listening to unix socket has been added there:

commit fe4831b1e7e7007ae15ae0470a06898660ab3877
Author: Marc-André Lureau <email address hidden>
Date: Tue Jan 13 17:57:51 2015 +0100

    spice: add unix address support

    Teach qemu to set up a Spice server with a UNIX socket using the
    following arguments -spice unix,addr=path.

    Signed-off-by: Gerd Hoffmann <email address hidden>

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.