[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] do_domctl and EAGAIN
Only DOMCTL_destroydomain returns EAGAIN. No domctl returns EINTR. -- Keir On 07/04/2009 08:04, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote: > Hi, > > certain domctl hypercalls (and possibly others as well) might fail with errno > EAGAIN. This case seems to be tested only in very few places, e.g. in > xc_domain_destroy. > > Is there any reason why this case isn't handled in do_domctl? > Shouldn't EINTR be handled as well? > > The other solution would be to have two versions of do_domctl, one of them > looping in case of EAGAIN or EINTR. > > I suspect this lack of errno-testing could lead to very sporadic failures... > > > Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |