Mina Jafari
2013-Aug-11 05:24 UTC
How dom0 send notifications to domu with best performance
Hi, How can dom0 send notifications to domu as some events happens(events are not hardware related). I know it can be done using event channel or through networking. Is there any other way? and which has the best performance?Performance really matters for my purpose. Thanks _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Steven Maresca
2013-Aug-11 14:12 UTC
Re: How dom0 send notifications to domu with best performance
Mina, Recommended checking out libvchan. Example code is not in tools/libvchan -- see also qubes os. Steve On Aug 11, 2013 1:25 AM, "Mina Jafari" <ai.minajafari@gmail.com> wrote:> Hi, > How can dom0 send notifications to domu as some events happens(events are > not hardware related). I know it can be done using event channel or through > networking. Is there any other way? and which has the best > performance?Performance really matters for my purpose. > > Thanks > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Konrad Rzeszutek Wilk
2013-Aug-12 13:27 UTC
Re: How dom0 send notifications to domu with best performance
On Sun, Aug 11, 2013 at 10:12:08AM -0400, Steven Maresca wrote:> Mina, > > Recommended checking out libvchan. Example code is not in tools/libvchan -- > see also qubes os... which you can use to create a memory region that is seen by both guests and you can create a semaphore on it. It even has the tools to advertise that one of the bytes will cause an event - so if one of the guests writes to it - the other end is instantly notified.> > Steve > On Aug 11, 2013 1:25 AM, "Mina Jafari" <ai.minajafari@gmail.com> wrote: > > > Hi, > > How can dom0 send notifications to domu as some events happens(events are > > not hardware related). I know it can be done using event channel or through > > networking. Is there any other way? and which has the best > > performance?Performance really matters for my purpose. > > > > Thanks > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > > > >> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel