blob: 6f461dcfaf09b74205dbf2fe9211d10dbe72be76 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
socket: 0.852
network: 0.731
semantic: 0.613
device: 0.613
arm: 0.573
ppc: 0.555
graphic: 0.485
register: 0.477
permissions: 0.427
risc-v: 0.406
i386: 0.400
mistranslation: 0.394
boot: 0.372
PID: 0.359
architecture: 0.336
TCG: 0.324
x86: 0.298
kernel: 0.287
vnc: 0.284
performance: 0.257
files: 0.248
peripherals: 0.192
hypervisor: 0.166
virtual: 0.164
user-level: 0.127
VMM: 0.124
KVM: 0.095
debug: 0.064
assembly: 0.055
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>
|