[Spice-devel] [Qemu-devel] Automatic spice port selection

Fabio Fantoni fabio.fantoni at m2r.biz
Tue Apr 22 02:42:12 PDT 2014


Il 22/04/2014 10:35, Gerd Hoffmann ha scritto:
>    Hi,
>
>>> Can someone add spice automatic port selection on qemu similar to vnc ones
>>> please?
> Not so easy as this is handled by spice-server not qemu, so this
> requires some new interfaces to communicate the listening address to
> qemu.  Otherwise you can't see the port selected in 'info spice', which
> would make the whole thing pretty pointless.
>
> Also note that the automatic port selection code in qemu is rarely used
> in practice due to libvirt doing the port selection in typical setups.
> And it is a bit flaky.  I've seen it happily grab port 5900 in ipv6
> space even though it was in use in ipv4 space.  Which is probably not
> the behavior expected by most users ...
>
> cheers,
>    Gerd

Thanks for your reply.
In xen I always used the vnc automatic port selection, which use the 
qemu's auto port selection.
Now I'm switching from vnc to spice on xen production systems, and I 
need an automatic port selection like vnc.
I believe that lot of xen users will like this feature and part of them 
still stuck on vnc due to the lack of it.
Could any one help to add this feature?
Why not implement it on libxl? (awaiting xen-devel feedback)

Thanks for any reply.


More information about the Spice-devel mailing list