WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] How to get a domU's ctrl_if_evtchn number in xen0?
From: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Date: Sat, 11 Dec 2004 12:10:35 -0500 (EST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 11 Dec 2004 17:11:42 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <E1Cd5U6-0007X2-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1Cd5U6-0007X2-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>