[Spice-devel] [RFC 2/3] server: introduce dispatcher

Alon Levy alevy at redhat.com
Wed Nov 2 08:10:17 PDT 2011


On Wed, Nov 02, 2011 at 04:40:06PM +0200, Yonit Halperin wrote:
> On 11/01/2011 10:10 AM, Alon Levy wrote:
> >used for main_dispatcher only in this patch.
> >
> >Dispatcher is meant to be used for Main<->any low frequency messages.
> just curious: what is the advantage of using a pipe over an explicit
> ring of messages with signalling for writes and acks?
> 

I guess the main one is out of process communication. Since that is not
a problem right now, it isn't an issue. But imagining spice get's moved
to a seperate process, having a pipe might be the only way to work. (and
this is not imaginary, it's already been suggested, as part of hardening
qemu).

Alon


More information about the Spice-devel mailing list