All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Ritu kaur <ritu.kaur.us@gmail.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: domU guest for xcp 0.1.1
Date: Thu, 18 Mar 2010 14:27:04 +0000	[thread overview]
Message-ID: <1268922424.10129.39687.camel@zakaz.uk.xensource.com> (raw)
In-Reply-To: <29b32d341003180723l652adb4bvb3b3aba3d8f3a529@mail.gmail.com>

On Thu, 2010-03-18 at 14:23 +0000, Ritu kaur wrote:
> Thanks Ian, could you please clarify me how are interrupts handled for
> pci passthrough device. I thought it is delivered via evtchn from
> pciback to pcifront i.e
> InterruptDescTable->Hypervisor->pciback->pcifront->actual_device is
> this correct?

Yes, but not on the event channel you found previously, there is a
separate one for each device IRQ.

> IRQ is 11 in dom0 for nic device but after driver for nic is loaded in
> domU IRQ is changed to 17.

That's expected, there isn't really any relationship between the IRQ
assignment in the guest and domain 0.

>  When you say try with another device should I try with another nic
> device or someother device?

Any device which doesn't share an IRQ with another, it doesn't really
matter what sort of device it is. NICs are often a convenient choice
since they are relatively easy to confirm they are working.

Ian.

> 
> Thanks
> 
> 
> On Thu, Mar 18, 2010 at 7:11 AM, Ian Campbell
> <Ian.Campbell@citrix.com> wrote:
>         On Thu, 2010-03-18 at 13:43 +0000, Ritu kaur wrote:
>         > Hi Ian.
>         >
>         >  pcifront_handler_aer is the callback function.
>         
>         
>         This is not the same interrupt/evtchn as your device's
>         interrupt though.
>         This is the PCI error handling notification interrupt (PCI AER
>         is PCI
>         Advanced Error Reporting).
>         
>         [...]
>         
>         > Yes my nic device is sharing interrupts(IRQ17) with usb and
>         ide
>         > devices in dom0.
>         
>         
>         This may be your problem, I don't know if this is expected to
>         work or
>         not.
>         
>         You could experiment with another device which doesn't share
>         an
>         interrupt, just to check that the basic mechanism is working.
>         
>         Ian.
>         
>         
> 

  reply	other threads:[~2010-03-18 14:27 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 17:10 domU guest for xcp 0.1.1 Ritu kaur
2010-03-12 17:51 ` Pasi Kärkkäinen
2010-03-13  1:51   ` Ritu kaur
2010-03-13 11:18     ` Pasi Kärkkäinen
2010-03-13 16:09       ` Ritu kaur
2010-03-13 16:41         ` Pasi Kärkkäinen
2010-03-14  1:43           ` Ritu kaur
2010-03-14  9:04             ` pvops xen/master and xen/stable domU kernel compilation errors Pasi Kärkkäinen
2010-03-14 11:15             ` domU guest for xcp 0.1.1 Sander Eikelenboom
2010-03-14 20:29               ` Ritu kaur
2010-03-14 20:52                 ` Sander Eikelenboom
2010-03-15  1:40                   ` Ritu kaur
2010-03-15  3:30                     ` Ritu kaur
2010-03-15  8:44                       ` Ian Campbell
2010-03-15 13:42                         ` Ritu kaur
2010-03-15 13:44                           ` Ian Campbell
2010-03-15 13:46                             ` Ritu kaur
2010-03-16  2:04                               ` Ritu kaur
2010-03-16  7:37                                 ` Ian Campbell
2010-03-16 15:23                                   ` Pasi Kärkkäinen
2010-03-16 23:25                                     ` Ritu kaur
2010-03-17 18:44                                       ` Ritu kaur
2010-03-18  9:17                                         ` Ian Campbell
2010-03-18 13:43                                           ` Ritu kaur
2010-03-18 14:11                                             ` Ian Campbell
2010-03-18 14:23                                               ` Ritu kaur
2010-03-18 14:27                                                 ` Ian Campbell [this message]
2010-03-18 14:32                                                   ` Ian Campbell
2010-03-18 14:39                                               ` Konrad Rzeszutek Wilk
2010-03-18 15:28                                                 ` Ritu kaur
2010-03-18 16:26                                                   ` Konrad Rzeszutek Wilk
2010-03-19 15:27                                                     ` Ritu kaur
2010-03-21  1:50                                                       ` Ritu kaur
2010-03-21 17:22                                                         ` Ritu kaur
2010-03-21 18:41                                                           ` Pasi Kärkkäinen
2010-03-21 21:21                                                             ` Ritu kaur
2010-03-22  8:58                                                               ` Pasi Kärkkäinen
2010-03-22 21:02                                                                 ` Ritu kaur
2010-03-22 21:09                                                                   ` Pasi Kärkkäinen
2010-03-23 20:21                                                                     ` Ritu kaur
2010-03-26 19:11                                                                       ` Ritu kaur
2010-03-27 18:28                                                                         ` Ritu kaur
2010-03-27 18:43                                                                           ` Pasi Kärkkäinen
2010-03-28  1:32                                                                             ` Ritu kaur
2010-03-28  3:21                                                                               ` Ritu kaur
2010-03-28 11:34                                                                                 ` Pasi Kärkkäinen
2010-03-28 11:55                                                                                   ` Pasi Kärkkäinen
2010-03-31  0:28                                                                                     ` Ritu kaur
2010-03-31  1:07                                                                                       ` Ritu kaur
2010-03-31  6:30                                                                                         ` Pasi Kärkkäinen
2010-03-31 13:15                                                                                           ` Ritu kaur
2010-03-31 13:42                                                                                             ` Konrad Rzeszutek Wilk
2010-03-31 13:55                                                                                               ` Ritu kaur
2010-03-31 14:39                                                                                                 ` Pasi Kärkkäinen
2010-03-31 21:10                                                                                                   ` Ritu kaur
2010-04-01 12:48                                                                                                     ` Ritu kaur
2010-04-05 14:10                                                                                                       ` Ritu kaur
2010-04-05 17:00                                                                                                         ` Konrad Rzeszutek Wilk
2010-04-06  4:00                                                                                                           ` Ritu kaur
2010-04-06  6:03                                                                                                             ` Pasi Kärkkäinen
2010-04-06 13:31                                                                                                               ` Ritu kaur
2010-04-09 15:53                                                                                                                 ` Ritu kaur
2010-04-11 17:11                                                                                                                   ` Ritu kaur
2010-04-12 14:04                                                                                                                     ` Konrad Rzeszutek Wilk
2010-04-12 22:14                                                                                                                       ` Ritu kaur
2010-04-13  8:34                                                                                                                         ` Ian Campbell
2010-04-13 22:06                                                                                                                           ` Ritu kaur
2010-04-14  8:48                                                                                                                             ` Ian Campbell
2010-03-28 11:33                                                                               ` Pasi Kärkkäinen
2010-03-31 23:23                                   ` Ritu kaur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1268922424.10129.39687.camel@zakaz.uk.xensource.com \
    --to=ian.campbell@citrix.com \
    --cc=ritu.kaur.us@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.