[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen --> Guest



hi.

On Tue, 2007-03-20 at 18:02 -0700, Security Initiative Team wrote:
> What's the easiest way to send 1-bit of information from
> Xen to a guest domain?

depends on your definition of easy.

easy to implement is a UDP packet. socket(), connect(), write().

if overhead matters, take shared memory. this takes a page of memory,
unless you are able to reuse pars of the shared data already being in
place. it may not be the cleanest or portable approach.

if latency matters, you need an event channel to notify upon
transmission.

> The event channel mechanism seems fairly complicated.

but it's a necessity if the data has to be transmitted asynchronously.

regards,
daniel

-- 

dns@xxxxxxxxxxxx

Wire up your home and stay there.




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.