[Spice-devel] SPICE_CHANNEL_TUNNEL
Yonit Halperin
yhalperi at redhat.com
Sun Mar 25 12:31:32 PDT 2012
Hi,
On 03/23/2012 11:59 AM, Charles.Tsai-蔡清海-研究發展部 wrote:
> Alon,
>
> I read the spice code and found a spice tunnel channel there. What is the purpose of the tunnel channel? Is it for network tunneling?
> What is the use case for tunnel channel in spice?
The tunnel was intended for redirecting a virtual network in the guest
to the client. Its main use was for network printer redirection.
The idea was to have a dedicated nic in the guest whose packets where
handled by a library based on slirp (it is still downloadable from
spice-space.org). Instead of using BSD sockets, you could register
other socket callbacks to this library, e.g., callbacks in the tunnel
worker. These callbacks forwarded the connections meta data and the
application layer of the packets to the client.
Regards,
Yonit.
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list