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

Re: [Xen-devel] [BUG]: when using `xl restore`ïxc_evtchn_alloc_unbound will raise this error



On Fri, 2013-01-04 at 06:27 +0000, éç wrote:
> 
> the macro `IS_PRIV_FOR` is defined here src/xen/include/xen/sched.h: 
>         638#define IS_PRIV_FOR(_d, _t) (IS_PRIV(_d) || ((_d)->target
>         && (_d)->target == (_t))) 
>         
>         
> I couldn't understand that what  IS_PRIV_FOR  means?!

It tells you if domains _d has special privileges over the domain _t
(the target). This is typically true of domains which are privileged  in
general (the IS_PRIV check, typically true only for dom0) or of stub
domains for HVM which have their ->target set via XEN_DOMCTL_set_target.

However this is all a red-herring since you are seeing ESRCH and not
EPERM as described in my other mail.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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