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] Unable to bind two domains for event channel

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Unable to bind two domains for event channel
From: "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>
Date: Mon, 27 Sep 2010 14:58:37 -0500
Delivery-date: Mon, 27 Sep 2010 13:00:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=MtJvp6RyC6p7p3OWuzwapfkweiR9B1UvTUmHh1UpN7U=; b=NFQP5PjrqNLtzRbQCHc9pCuDRwQutzGs14DCcRIB4IkaXXbVNaB2dag35ayPjVI3xc p/ijrUtctqXQNAJYRG+wNpnCnRzV4g7S1bawPnOM2jNkSbgJiv/LJIv+d0JFyMhAFDke evZGjnNEpVev5NgldG+EPf184qnsAqW2/+vdo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=heU/cI0ufbTJKy5c1U0pyUb/OPRtAzHpMT0LmixNoO+PDcGLubfEcDQ81RRbvqATFh p5u1MB8fV2bAe1FAzNcLvVw4ciJzfGg4XxfhS4+4Joog0FZDMQijU4bHXwiLPDQCAYO9 CabKA+rqqoYlefQKIjUZ7Nlgj9FelVyulQwBE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=xSY+NroojTy9R9Wm6Rt0SGqw0hc7SzOX=xxz5@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTim_Ybe+AbyW-BL_5rjiQYnszZ8P2=GR3WQjrZFZ@xxxxxxxxxxxxxx> <C8C6AF8C.707C%keir@xxxxxxx> <AANLkTi=xSY+NroojTy9R9Wm6Rt0SGqw0hc7SzOX=xxz5@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

what is the wrapper for EVTCHNOP_send ?

--
Srujan D. Kotikela


On Mon, Sep 27, 2010 at 2:35 PM, Srujan D. Kotikela <ksrujandas@xxxxxxxxx> wrote:
Hi Keir,

Thanks a lot. It worked. I misunderstood the documentation (function prototype) or should it be corrected?

evtchn_port_or_error_t
xc_evtchn_bind_interdomain(int xce_handle, int domid,
                           evtchn_port_t remote_port);

--
Srujan D. Kotikela



On Mon, Sep 27, 2010 at 2:31 PM, Keir Fraser <keir@xxxxxxx> wrote:
On 27/09/2010 20:24, "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx> wrote:

> My src_port is not getting allocated. I am getting -1 (error) as the return
> value for xc_evtchn_bind_interdomain. Can anyone help me with this?

You should be passing remote_dom to xc_evtchn_bind_interdomain(), not dom.

 -- Keir




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>