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

Re: [Xen-devel] error binding to event channel

  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • From: Jacob Gorm Hansen <jacobg@xxxxxxx>
  • Date: Tue, 22 Feb 2005 12:55:10 -0800
  • Delivery-date: Tue, 22 Feb 2005 20:57:53 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

Jacob Gorm Hansen wrote:
I am trying to bind an event channel to my domain using the following code:

OK I have it sorted now, using a constant port number at the domU end, the code looks like this:

        int p1=0;
        int p2=0;
        int r;

        r = xc_evtchn_bind_interdomain(xc_handle,

        r = xc_evtchn_send(xc_handle, p1);

and on the receiving end:

        int my_irq = bind_evtchn_to_irq(14);
        printk("bound irq %d\n", my_irq);

int r = request_irq(my_irq, my_interrupt_handler, SA_SAMPLE_RANDOM, , "myirq", 0);


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.
Xen-devel mailing list



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