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

Re: [Xen-devel] Unable to bind two domains for event channel


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

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