blob: f89b42dc03b4e9bd159a0cc657a2452ccf79afda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
socket: 0.852
network: 0.731
other: 0.662
semantic: 0.613
device: 0.613
graphic: 0.485
permissions: 0.427
boot: 0.372
PID: 0.359
vnc: 0.284
performance: 0.257
files: 0.248
KVM: 0.095
debug: 0.064
RFE: Support spice via unix domain socket
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.
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
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>
|