On Fri, 2011-06-03 at 16:17 +0400, Vasiliy G Tolstov wrote:
> On Fri, 2011-06-03 at 13:13 +0100, Ian Campbell wrote:
> > On Fri, 2011-06-03 at 13:04 +0100, Vasiliy G Tolstov wrote:
> > > Hello. I have some examples of usage xs_watch in userspace that contains
> > > loop with select function usage. If i use epoll, no events returned from
> > > epoll_wait...
> > > Does it matter to use select from fd that used for watch?
> > > epoll fd added with ev.events = (EPOLLIN | EPOLLPRI | EPOLLONESHOT);
> >
> > I think you need to provide an example of the code which doesn't work.
> >
> > Ian.
> >
>
> This is not work:
> if ((err = xs_watch(stats->xs, "data/xenmgm", "xenmgm")) != 0) {
Ok. I'm investigate, that xs_read can use relative to root path, for
example i can read domid not provide full path to it
(/local/domain/XX/domid), but if i want use watch, i need provide full
path to wathed node.... This is not clear to me after reading
examples... =)
Thank You.
--
Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Selfip.Ru
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|