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

Re: [Xen-devel] How to get a domU's ctrl_if_evtchn number in xen0?



Got it! Thanks a lot! Now I know why I saw port1=0 and port2=1 in xend
python codes. ;-)

-x


On Sat, 11 Dec 2004, Keir Fraser wrote:

>
> It's always port 1 in xenU. If you want the corresponding port in
> xen0, issue a xc_evtchn_bind_interdomain:
>  *pport1 = 0; /* wildcard */
>  *pport2 = 1;
>  xc_bind_interdomain(xch, DOMID_SELF, <domU>, pport1, pport2);
>  /* *pport1 now contains local port */
>
>  -- Keir
>
> > The ctrl_if_evtchn seems to be maintained in Xend. Is there any way to
> > write a code in xen0 get get the ctrl_if_evtchn of a specified xenU? We
> > might need it to send notification of message sent over control channel
> > from xen0 to xenU.
> >
> > Thanks in advance for your help.
> >
> > -x
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://productguide.itmanagersjournal.com/
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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